From 1422cab58cfb6c14c2dd45a71bad7e2d4394d493 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 19 Aug 2014 07:23:46 +0000 Subject: [PATCH] Don't display an empty "Uploaded To" link in the media modal after [29436]. see #28844. git-svn-id: https://develop.svn.wordpress.org/trunk@29537 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media-template.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php index f8f104a2c6..ef7c577142 100644 --- a/src/wp-includes/media-template.php +++ b/src/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 ) { #> <# } #>