Make WordPress Core


Ignore:
Timestamp:
10/20/2011 03:04:46 PM (14 years ago)
Author:
nacin
Message:

Translated strings in attributes require esc_attr(). s/_e/esc_attr_e/g

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/themes.php

    r18775 r19028  
    8282<div id="current-theme">
    8383<?php if ( $ct->screenshot ) : ?>
    84 <img src="<?php echo $ct->theme_root_uri . '/' . $ct->stylesheet . '/' . $ct->screenshot; ?>" alt="<?php _e('Current theme preview'); ?>" />
     84<img src="<?php echo $ct->theme_root_uri . '/' . $ct->stylesheet . '/' . $ct->screenshot; ?>" alt="<?php esc_attr_e('Current theme preview'); ?>" />
    8585<?php endif; ?>
    8686<h4><?php
Note: See TracChangeset for help on using the changeset viewer.