Changeset 15356
- Timestamp:
- 06/30/2010 05:46:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/kses.php
r14412 r15356 1374 1374 $css = str_replace(array("\n","\r","\t"), '', $css); 1375 1375 1376 if ( preg_match( '%[\\(& ]|/\*%', $css ) ) // remove any inline css containing \ ( &or comments1376 if ( preg_match( '%[\\(&}]|/\*%', $css ) ) // remove any inline css containing \ ( & } or comments 1377 1377 return ''; 1378 1378 1379 $css_array = split( ';', trim( $css ) );1379 $css_array = explode( ';', trim( $css ) ); 1380 1380 $allowed_attr = apply_filters( 'safe_style_css', array( 'text-align', 'margin', 'color', 'float', 1381 1381 'border', 'background', 'background-color', 'border-bottom', 'border-bottom-color',
Note: See TracChangeset
for help on using the changeset viewer.