X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/42aebe6945a3a60c8f73853bea2c8b202d64a20b..refs/tags/wordpress-3.8:/wp-includes/media.php
diff --git a/wp-includes/media.php b/wp-includes/media.php
index 14972380..f063e8e8 100644
--- a/wp-includes/media.php
+++ b/wp-includes/media.php
@@ -1148,7 +1148,7 @@ function wp_video_shortcode( $attr, $content = '' ) {
$html .= wp_mediaelement_fallback( $fileurl );
$html .= '';
- $html = sprintf( '
%s
', $width, $html );
+ $html = sprintf( '%s
', $width, $html );
return apply_filters( 'wp_video_shortcode', $html, $atts, $video, $post_id, $library );
}
add_shortcode( 'video', 'wp_video_shortcode' );
@@ -1942,6 +1942,7 @@ function wp_enqueue_media( $args = array() ) {
require_once ABSPATH . WPINC . '/media-template.php';
add_action( 'admin_footer', 'wp_print_media_templates' );
add_action( 'wp_footer', 'wp_print_media_templates' );
+ add_action( 'customize_controls_print_footer_scripts', 'wp_print_media_templates' );
do_action( 'wp_enqueue_media' );
}