Why Additional CSS Field Disappeared When WP-AutoShield Is On?

If the Additional CSS field disappears in WordPress while WP-AutoShield is active, this is not a bug or a recent change. It is the expected behavior of the feature autoshield_disable_xss_in_posts.

Why Does This Happen?

The Additional CSS section in WordPress editors relies on the same methods often used in XSS (Cross-Site Scripting) attacks. When autoshield_disable_xss_in_posts is enabled, WP-AutoShield blocks these methods, which causes the Additional CSS field to disappear for security reasons.

How to Fix or Adjust

You have two options if you need the Additional CSS field:

  • Disable autoshield_disable_xss_in_posts globally in the settings.
  • Exclude only the specific sites that require the Additional CSS field while keeping protection on for others.

For controlling WP-AutoShield features per site, see:

Controlling WP-AutoShield Features Per Site

For enabling or disabling autoshield_disable_xss_in_posts globally, see:

Configuring cPFence

 


Need Further Assistance?

If you encounter any issues or need additional help, feel free to reach out to our support team via your client portal.

 

  • 0 Los Usuarios han Encontrado Esto Útil
¿Fue útil la respuesta?

Artículos Relacionados

How to Perform and Export Wordpress Vulnerability Scans with cPFence?

cPFence provides powerful tools for identifying and analyzing Wordpress vulnerabilities. With the...

How to Generate a List of All WordPress Sites on Your Server?

cPFence provides an easy way to generate a comprehensive list of all WordPress sites on your...

How to Quickly Identify Infected WordPress Sites Using cPFence?

cPFence makes it easy to identify and clean infected WordPress sites on your server. Follow the...

Why Doesn’t WP AutoShield Include a Custom Login URL Feature?

WP AutoShield focuses on robust and effective security measures for WordPress sites, but it does...

Does WP AutoShield Cause Issues with WP-Cron?

The short answer is no, WP AutoShield will not cause issues with WP-Cron. Here's why: Enhance...