Changeset 24129 for trunk/wp-includes/shortcodes.php
- Timestamp:
- 04/29/2013 02:48:31 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/shortcodes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/shortcodes.php
r23729 r24129 153 153 function has_shortcode( $content, $tag ) { 154 154 if ( shortcode_exists( $tag ) ) { 155 $matches = array();156 155 preg_match_all( '/' . get_shortcode_regex() . '/s', $content, $matches, PREG_SET_ORDER ); 157 156 if ( empty( $matches ) )
Note: See TracChangeset
for help on using the changeset viewer.