[wp-testers] Question about Inline CSS filter for kses (r11688)

Ryan Boren ryan at boren.nu
Thu Jul 9 18:49:52 UTC 2009


On Thu, Jul 9, 2009 at 11:31 AM, Demetris<kikizas at gmail.com> wrote:
> I use this plugin:
>
> http://wordpress.org/extend/plugins/extended-options/
>
> ... to add some content to my footers (the plugin uses wp_footer to
> add the markup).  Since r11688 (Inline CSS filter for kses) my inline
> CSS rules are stripped.
>
> Is this the expected behaviour?

It calls wp_filter_post_kses() which now filters style attributes.
Plugins can filter the 'safe_style_css' array and add style attributes
they want to allow or return an empty array to allow anything.


More information about the wp-testers mailing list