Changeset 22382
- Timestamp:
- 11/05/2012 10:27:36 PM (12 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r22310 r22382 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 -
trunk/wp-includes/shortcodes.php
r22005 r22382 183 183 . '(\\[?)' // 1: Optional second opening bracket for escaping shortcodes: [[tag]] 184 184 . "($tagregexp)" // 2: Shortcode name 185 . ' \\b'// Word boundary185 . '(?![\\w-])' // Word boundary 186 186 . '(' // 3: Unroll the loop: Inside the opening shortcode tag 187 187 . '[^\\]\\/]*' // Not a closing bracket or forward slash
Note: See TracChangeset
for help on using the changeset viewer.