Add equal sign to blacklist. Props Pádraic Brady. for 3.1

git-svn-id: https://develop.svn.wordpress.org/trunk@15383 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-07-12 14:30:39 +00:00
parent e9aae4a53a
commit 8d9d4817a3
1 changed files with 1 additions and 1 deletions

View File

@ -1373,7 +1373,7 @@ function safecss_filter_attr( $css, $deprecated = '' ) {
$css = wp_kses_no_null($css);
$css = str_replace(array("\n","\r","\t"), '', $css);
if ( preg_match( '%[\\(&}]|/\*%', $css ) ) // remove any inline css containing \ ( & } or comments
if ( preg_match( '%[\\(&=}]|/\*%', $css ) ) // remove any inline css containing \ ( & } = or comments
return '';
$css_array = explode( ';', trim( $css ) );