Ticket #17657: 17657.update-comment.diff
File 17657.update-comment.diff, 1.5 KB (added by , 13 years ago) |
---|
-
wp-includes/formatting.php
295 295 . '(' // 1: The shortcode 296 296 . '\\[' // Opening bracket 297 297 . "($tagregexp)" // 2: Shortcode name 298 . '(?![\\w-])' // Word boundary298 . '(?![\\w-])' // Not followed by word character or hyphen 299 299 // Unroll the loop: Inside the opening shortcode tag 300 300 . '[^\\]\\/]*' // Not a closing bracket or forward slash 301 301 . '(?:' -
wp-includes/shortcodes.php
182 182 '\\[' // Opening bracket 183 183 . '(\\[?)' // 1: Optional second opening bracket for escaping shortcodes: [[tag]] 184 184 . "($tagregexp)" // 2: Shortcode name 185 . '(?![\\w-])' // Word boundary185 . '(?![\\w-])' // Not followed by word character or hyphen 186 186 . '(' // 3: Unroll the loop: Inside the opening shortcode tag 187 187 . '[^\\]\\/]*' // Not a closing bracket or forward slash 188 188 . '(?:'