Ticket #33259: 33259.patch
File 33259.patch, 505 bytes (added by , 10 years ago) |
---|
-
wp-includes/shortcodes.php
394 394 if ( $count > 0 ) { 395 395 // Sanitize the shortcode output using KSES. 396 396 $new_attr = wp_kses_one_attr( $new_attr, $elname ); 397 if ( '' !== $new_attr) {397 if ( '' !== trim( $new_attr ) ) { 398 398 // The shortcode is safe to use now. 399 399 $attr = $new_attr; 400 400 }