Ticket #23431: 23431.diff
File 23431.diff, 594 bytes (added by , 12 years ago) |
---|
-
wp-includes/shortcodes.php
232 232 $attr = shortcode_parse_atts( $m[3] ); 233 233 234 234 if ( isset( $m[5] ) ) { 235 // see docs for WP_Embed::run_shortcode() 236 if ( $tag == 'embed' && $shortcode_tags[$tag] == '__return_false' ) 237 return $GLOBALS['wp_embed']->run_shortcode( $m[0] ); 235 238 // enclosing tag - extra parameter 236 239 return $m[1] . call_user_func( $shortcode_tags[$tag], $attr, $m[5], $tag ) . $m[6]; 237 240 } else {