Ticket #26343: 26343.diff
File 26343.diff, 496 bytes (added by , 11 years ago) |
---|
-
wp-includes/shortcodes.php
157 157 return false; 158 158 159 159 foreach ( $matches as $shortcode ) { 160 if ( $tag === $shortcode[2] ) 160 if ( $tag === $shortcode[2] ) { 161 161 return true; 162 } elseif ( isset( $shortcode[5] ) && has_shortcode( $shortcode[5], $tag ) ) { 163 return true; 164 } 162 165 } 163 166 } 164 167 return false;