WordPress.org

Make WordPress Core

Changeset 28039


Ignore:
Timestamp:
04/08/2014 05:27:44 AM (6 years ago)
Author:
nacin
Message:

Media Templates: More escaping rather than interpolation. see #21785.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media-template.php

    r28030 r28039  
    208208                <# if ( data.suggestedWidth && data.suggestedHeight ) { #>
    209209                    <p class="suggested-dimensions">
    210                         <?php _e( 'Suggested image dimensions:' ); ?> {{{data.suggestedWidth}}} &times; {{{data.suggestedHeight}}}
     210                        <?php _e( 'Suggested image dimensions:' ); ?> {{data.suggestedWidth}} &times; {{data.suggestedHeight}}
    211211                    </p>
    212212                <# } #>
     
    978978        </div>
    979979        <# if ( data.attachments ) { #>
    980             <div class="gallery gallery-columns-{{{ data.columns }}}">
     980            <div class="gallery gallery-columns-{{ data.columns }}">
    981981                <# _.each( data.attachments, function( attachment, index ) { #>
    982982                    <dl class="gallery-item">
Note: See TracChangeset for help on using the changeset viewer.