WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/wp-includes/kses.php

    r14412 r15384  
    13741374    $css = str_replace(array("\n","\r","\t"), '', $css);
    13751375
    1376     if ( preg_match( '%[\\(&]|/\*%', $css ) ) // remove any inline css containing \ ( & or comments
     1376    if ( preg_match( '%[\\(&=}]|/\*%', $css ) ) // remove any inline css containing \ ( & } = or comments
    13771377        return '';
    13781378
    1379     $css_array = split( ';', trim( $css ) );
     1379    $css_array = explode( ';', trim( $css ) );
    13801380    $allowed_attr = apply_filters( 'safe_style_css', array( 'text-align', 'margin', 'color', 'float',
    13811381    'border', 'background', 'background-color', 'border-bottom', 'border-bottom-color',
Note: See TracChangeset for help on using the changeset viewer.