From 0e188eba9603d698f6ced020069bc9b4329004df Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 28 Mar 2014 12:36:41 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@27812 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media-template.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php index 40472c6c13..c366482bf0 100644 --- a/src/wp-includes/media-template.php +++ b/src/wp-includes/media-template.php @@ -517,20 +517,21 @@ function wp_print_media_templates() {