Ticket #8553: 8553.2.diff
| File 8553.2.diff, 494 bytes (added by , 16 years ago) |
|---|
-
wp-includes/shortcodes.php
175 175 $tagnames = array_keys($shortcode_tags); 176 176 $tagregexp = join( '|', array_map('preg_quote', $tagnames) ); 177 177 178 return '(.?)\[('.$tagregexp.')\b( .*?)(?:(\/))?\](?:(.+?)\[\/\2\])?(.?)';178 return '(.?)\[('.$tagregexp.')\b([^\[\]\r\n]*?)(?:(\/))?\](?:(.+?)\[\/\2\])?(.?)'; 179 179 } 180 180 181 181 /**