Ticket #10082: patch-#10082-1.diff
File patch-#10082-1.diff, 542 bytes (added by , 16 years ago) |
---|
-
wp-includes/shortcodes.php
### Eclipse Workspace Patch 1.0 #P SVN WordPress 2.8
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(.*?)(?:(\/))?\](?:(.+?)\[\/\2\])?([^\[]?)'; 179 179 } 180 180 181 181 /**