From 0113d3457b72d0650f5077d2e786570d2619d9a0 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 9 Sep 2014 10:03:14 +0000 Subject: [PATCH] Avoid PHP notices in media modal caused by orphaned attachments. fixes #29566 for trunk. Built from https://develop.svn.wordpress.org/trunk@29724 git-svn-id: http://core.svn.wordpress.org/trunk@29498 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/media-template.php | 2 +- wp-includes/media.php | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/wp-includes/media-template.php b/wp-includes/media-template.php index 14e78f5cb7..40233375ed 100644 --- a/wp-includes/media-template.php +++ b/wp-includes/media-template.php @@ -394,7 +394,7 @@ function wp_print_media_templates() { {{ data.authorName }} - <# if ( data.uploadedTo ) { #> + <# if ( data.uploadedToTitle ) { #>