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:
Andrew Nacin 2014-11-20 13:15:00 +00:00
parent 912dbf3fd0
commit 7e830d4a4a
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) );