Ticket #26343: has_shortcode.patch
File has_shortcode.patch, 457 bytes (added by , 11 years ago) |
---|
-
wp-includes/shortcodes.php
159 159 foreach ( $matches as $shortcode ) { 160 160 if ( $tag === $shortcode[2] ) 161 161 return true; 162 // Run recursively on the content of the shortcode. 163 elseif ( has_shortcode( $shortcode[5], $tag) ) 164 return true 162 165 } 163 166 } 164 167 return false;