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