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_postsglobally 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:
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.
