From 3ff5c2c9540cfd7124305375f87dd268e56f8339 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 8 Apr 2014 05:28:15 +0000 Subject: [PATCH] Media Templates: More escaping rather than interpolation. see #21785. Built from https://develop.svn.wordpress.org/trunk@28039 git-svn-id: http://core.svn.wordpress.org/trunk@27869 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/media-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/media-template.php b/wp-includes/media-template.php index 90d37e6760..a284d8dec5 100644 --- a/wp-includes/media-template.php +++ b/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 ) { #> -