diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php
index 14e78f5cb7..40233375ed 100644
--- a/src/wp-includes/media-template.php
+++ b/src/wp-includes/media-template.php
@@ -394,7 +394,7 @@ function wp_print_media_templates() {
{{ data.authorName }}
- <# if ( data.uploadedTo ) { #>
+ <# if ( data.uploadedToTitle ) { #>