From 345521666e788a6fc31c7b1c183b8ec1d172ceb6 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 6 Jul 2015 14:18:03 +0000 Subject: [PATCH] Merge two `class` attributes in `WP_Customize_Media_Control::content_template()` and `wp_print_media_templates()`. props nicholas_io. fixes #32896. git-svn-id: https://develop.svn.wordpress.org/trunk@33090 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-customize-control.php | 2 +- src/wp-includes/media-template.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/class-wp-customize-control.php b/src/wp-includes/class-wp-customize-control.php index ae7e3f30b0..b1be94f680 100644 --- a/src/wp-includes/class-wp-customize-control.php +++ b/src/wp-includes/class-wp-customize-control.php @@ -814,7 +814,7 @@ class WP_Customize_Media_Control extends WP_Customize_Control { <# } else { #> - +

{{ data.attachment.title }}

<# } #> diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php index b444310f1f..a8933f36f1 100644 --- a/src/wp-includes/media-template.php +++ b/src/wp-includes/media-template.php @@ -298,7 +298,7 @@ function wp_print_media_templates() { <# } else if ( 'image' === data.type && data.sizes && data.sizes.full ) { #> <# } else if ( -1 === jQuery.inArray( data.type, [ 'audio', 'video' ] ) ) { #> - + <# } #> <# if ( 'audio' === data.type ) { #>