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
This commit is contained in:
parent
c2f334bf3c
commit
e7614d6c45
|
@ -1467,7 +1467,7 @@ function safecss_filter_attr( $css, $deprecated = '' ) {
|
||||||
$css = wp_kses_no_null($css);
|
$css = wp_kses_no_null($css);
|
||||||
$css = str_replace(array("\n","\r","\t"), '', $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 '';
|
return '';
|
||||||
|
|
||||||
$css_array = explode( ';', trim( $css ) );
|
$css_array = explode( ';', trim( $css ) );
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue