From aed104c51b9efb11a6f7ce00100b45f649248417 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 19 Aug 2014 07:24:16 +0000 Subject: [PATCH] Don't display an empty "Uploaded To" link in the media modal after [29436]. see #28844. Built from https://develop.svn.wordpress.org/trunk@29537 git-svn-id: http://core.svn.wordpress.org/trunk@29313 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/media-template.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/wp-includes/media-template.php b/wp-includes/media-template.php index f8f104a2c6..ef7c577142 100644 --- a/wp-includes/media-template.php +++ b/wp-includes/media-template.php @@ -395,7 +395,11 @@ function wp_print_media_templates() { <# if ( data.uploadedTo ) { #> <# } #>
@@ -567,8 +571,12 @@ function wp_print_media_templates() { <# if ( data.uploadedTo ) { #> <# } #>