From 92381845b80a136c6f323615fd4d614990269fc8 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 8 Apr 2014 05:27:44 +0000 Subject: [PATCH] Media Templates: More escaping rather than interpolation. see #21785. git-svn-id: https://develop.svn.wordpress.org/trunk@28039 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php index 90d37e6760..a284d8dec5 100644 --- a/src/wp-includes/media-template.php +++ b/src/wp-includes/media-template.php @@ -207,7 +207,7 @@ function wp_print_media_templates() { <# if ( data.suggestedWidth && data.suggestedHeight ) { #>

- {{{data.suggestedWidth}}} × {{{data.suggestedHeight}}} + {{data.suggestedWidth}} × {{data.suggestedHeight}}

<# } #> @@ -977,7 +977,7 @@ function wp_print_media_templates() {
<# if ( data.attachments ) { #> -