Fix typo in style filter. props miqrogroove
git-svn-id: https://develop.svn.wordpress.org/trunk@30425 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
912dbf3fd0
commit
7e830d4a4a
@ -1467,7 +1467,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 ) );
|
||||
|
Loading…
Reference in New Issue
Block a user