Make WordPress Core


Ignore:
Timestamp:
03/04/2014 09:09:32 PM (11 years ago)
Author:
SergeyBiryukov
Message:

Use esc_attr_e() instead of _e() for attribute values.

props DJPaul.
fixes #27274.

File:
1 edited

Legend:

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

    r27369 r27400  
    153153
    154154            <# if ( data.buttons.close ) { #>
    155                 <a class="close media-modal-icon" href="#" title="<?php _e('Remove'); ?>"></a>
     155                <a class="close media-modal-icon" href="#" title="<?php esc_attr_e('Remove'); ?>"></a>
    156156            <# } #>
    157157
    158158            <# if ( data.buttons.check ) { #>
    159                 <a class="check" href="#" title="<?php _e('Deselect'); ?>"><div class="media-modal-icon"></div></a>
     159                <a class="check" href="#" title="<?php esc_attr_e('Deselect'); ?>"><div class="media-modal-icon"></div></a>
    160160            <# } #>
    161161        </div>
Note: See TracChangeset for help on using the changeset viewer.