Changeset 47219 for trunk/src/wp-includes/shortcodes.php
- Timestamp:
- 02/09/2020 04:52:28 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/shortcodes.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/shortcodes.php
r47207 r47219 307 307 308 308 // Allow [[foo]] syntax for escaping a tag. 309 if ( $m[1] == '[' && $m[6] == ']') {309 if ( '[' === $m[1] && ']' === $m[6] ) { 310 310 return substr( $m[0], 1, -1 ); 311 311 } … … 664 664 function strip_shortcode_tag( $m ) { 665 665 // Allow [[foo]] syntax for escaping a tag. 666 if ( $m[1] == '[' && $m[6] == ']') {666 if ( '[' === $m[1] && ']' === $m[6] ) { 667 667 return substr( $m[0], 1, -1 ); 668 668 }
Note: See TracChangeset
for help on using the changeset viewer.