diff --git a/wp-includes/kses.php b/wp-includes/kses.php index 9d8d6fed19..70623201b5 100644 --- a/wp-includes/kses.php +++ b/wp-includes/kses.php @@ -1434,7 +1434,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 ) );