Ticket #28195: 28195.4.diff
File 28195.4.diff, 528 bytes (added by , 10 years ago) |
---|
-
src/wp-admin/includes/ajax-actions.php
2537 2537 setup_postdata( $post ); 2538 2538 2539 2539 $parsed = $wp_embed->run_shortcode( $_POST['content'] ); 2540 if ( preg_match( '/' . get_shortcode_regex() . '/s', $parsed ) ) { 2541 $parsed = do_shortcode( $parsed ); 2542 } 2540 $parsed = do_shortcode( $parsed ); 2543 2541 wp_send_json_success( $parsed ); 2544 2542 }