~canonical-sysadmins/wordpress/3.9.x

« back to all changes in this revision

Viewing changes to wp-includes/kses.php

  • Committer: Barry Price
  • Date: 2014-11-21 10:42:50 UTC
  • Revision ID: barry@x202e-20141121104250-mje2dmv8odkpta6v
Import WP 3.9.3 cRT#76860

Show diffs side-by-side

added added

removed removed

Lines of Context:
1434
1434
        $css = wp_kses_no_null($css);
1435
1435
        $css = str_replace(array("\n","\r","\t"), '', $css);
1436
1436
 
1437
 
        if ( preg_match( '%[\\(&=}]|/\*%', $css ) ) // remove any inline css containing \ ( & } = or comments
 
1437
        if ( preg_match( '%[\\\\(&=}]|/\*%', $css ) ) // remove any inline css containing \ ( & } = or comments
1438
1438
                return '';
1439
1439
 
1440
1440
        $css_array = explode( ';', trim( $css ) );