From e7614d6c45297015f3f45158f49aace7af9a193e Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 20 Nov 2014 13:15:24 +0000 Subject: [PATCH] Fix typo in style filter. props miqrogroove Built from https://develop.svn.wordpress.org/trunk@30425 git-svn-id: http://core.svn.wordpress.org/trunk@30420 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/kses.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/kses.php b/wp-includes/kses.php index 662b794796..bb180438a8 100644 --- a/wp-includes/kses.php +++ b/wp-includes/kses.php @@ -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 ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 53cc56136a..79a6d6e344 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-beta1-30422'; +$wp_version = '4.1-beta1-30425'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.