Changeset 42249 for trunk/src/wp-includes/shortcodes.php
- Timestamp:
- 11/28/2017 04:23:11 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/shortcodes.php
r42228 r42249 236 236 // WARNING! Do not change this regex without changing do_shortcode_tag() and strip_shortcode_tag() 237 237 // Also, see shortcode_unautop() and shortcode.js. 238 239 // phpcs:disable Squiz.Strings.ConcatenationSpacing.PaddingFound -- don't remove regex indentation 238 240 return 239 '\\[' // Opening bracket241 '\\[' // Opening bracket 240 242 . '(\\[?)' // 1: Optional second opening bracket for escaping shortcodes: [[tag]] 241 243 . "($tagregexp)" // 2: Shortcode name … … 265 267 . ')' 266 268 . '(\\]?)'; // 6: Optional second closing brocket for escaping shortcodes: [[tag]] 269 // phpcs:enable 267 270 } 268 271
Note: See TracChangeset
for help on using the changeset viewer.