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
This commit is contained in:
Andrew Nacin 2014-04-08 05:28:15 +00:00
parent 9a82e9070e
commit 3ff5c2c954
1 changed files with 2 additions and 2 deletions

View File

@ -207,7 +207,7 @@ function wp_print_media_templates() {
<# if ( data.suggestedWidth && data.suggestedHeight ) { #>
<p class="suggested-dimensions">
<?php _e( 'Suggested image dimensions:' ); ?> {{{data.suggestedWidth}}} &times; {{{data.suggestedHeight}}}
<?php _e( 'Suggested image dimensions:' ); ?> {{data.suggestedWidth}} &times; {{data.suggestedHeight}}
</p>
<# } #>
@ -977,7 +977,7 @@ function wp_print_media_templates() {
<div class="dashicons dashicons-edit edit"></div><div class="dashicons dashicons-no-alt remove"></div>
</div>
<# if ( data.attachments ) { #>
<div class="gallery gallery-columns-{{{ data.columns }}}">
<div class="gallery gallery-columns-{{ data.columns }}">
<# _.each( data.attachments, function( attachment, index ) { #>
<dl class="gallery-item">
<dt class="gallery-icon">