From c411ad4cbaa3f04f552fcd4122504dade08bbe9e Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Thu, 27 Mar 2014 21:09:39 +0000 Subject: [PATCH] When labeling `Show Tracklist` for playlist settings, use `Show Video List` when the playlist is video. Fixes #27535. git-svn-id: https://develop.svn.wordpress.org/trunk@27796 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media-template.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php index e127f3215e..3751ad7995 100644 --- a/src/wp-includes/media-template.php +++ b/src/wp-includes/media-template.php @@ -523,7 +523,11 @@ function wp_print_media_templates() { checked="checked" <# } #> /> + <# if ( 'audio' === data.model.type ) { #> + <# } else { #> + + <# } #> <# if ( 'audio' === data.model.type ) { #>