From eeb9290b3bf177cb3ecc3630bce88a3ea61c3acd Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 20 Nov 2014 13:17:09 +0000 Subject: [PATCH] Fix typo in style filter. props miqrogroove Merges [30425] to the 3.7 branch. Built from https://develop.svn.wordpress.org/branches/3.7@30429 git-svn-id: http://core.svn.wordpress.org/branches/3.7@30424 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/kses.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/kses.php b/wp-includes/kses.php index caacd29ed7..45595cc969 100644 --- a/wp-includes/kses.php +++ b/wp-includes/kses.php @@ -1405,7 +1405,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 ) );