From 882df9f94adcabd11fd341d66ef8a7bf58db6903 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 31 Mar 2014 05:12:29 +0000 Subject: [PATCH] Favor escaping over interpolation in Underscore templates for media. Translate some strings directly instead of passing via JS. Props nacin. See #27574. git-svn-id: https://develop.svn.wordpress.org/trunk@27868 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media-template.php | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php index c366482bf0..76e595cc24 100644 --- a/src/wp-includes/media-template.php +++ b/src/wp-includes/media-template.php @@ -771,8 +771,8 @@ function wp_print_media_templates() {