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

Demetris kikizas at gmail.com
Thu Jul 9 18:55:57 UTC 2009


On Thu, Jul 9, 2009 at 9:49 PM, Ryan Boren<ryan at boren.nu> wrote:
> 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.
>
Thanks for the quick reply and for the info! :-)


More information about the wp-testers mailing list