From eec578abcd9c547c5f32ccbd1b0ba47ce8e381b9 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 28 Mar 2014 12:37:15 +0000 Subject: [PATCH] When creating a new playlist, we don't know from the model what "type" it is right away (there is no longer a `video-playlist` shortcode) - we need to check the controller's library's prop for `type` when deciding what settings to display in the modal. See #27535. Built from https://develop.svn.wordpress.org/trunk@27812 git-svn-id: http://core.svn.wordpress.org/trunk@27646 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/media-template.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/wp-includes/media-template.php b/wp-includes/media-template.php index 40472c6c13..c366482bf0 100644 --- a/wp-includes/media-template.php +++ b/wp-includes/media-template.php @@ -517,20 +517,21 @@ function wp_print_media_templates() {