WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/20/2011 03:04:46 PM (10 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-includes/theme-compat/sidebar.php

    r17340 r19028  
    7171                    <?php wp_register(); ?>
    7272                    <li><?php wp_loginout(); ?></li>
    73                     <li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li>
    74                     <li><a href="http://gmpg.org/xfn/"><abbr title="<?php _e('XHTML Friends Network'); ?>"><?php _e('XFN'); ?></abbr></a></li>
    75                     <li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>">WordPress</a></li>
     73                    <li><a href="http://validator.w3.org/check/referer" title="<?php esc_attr_e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li>
     74                    <li><a href="http://gmpg.org/xfn/"><abbr title="<?php esc_attr_e('XHTML Friends Network'); ?>"><?php _e('XFN'); ?></abbr></a></li>
     75                    <li><a href="http://wordpress.org/" title="<?php esc_attr_e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>">WordPress</a></li>
    7676                    <?php wp_meta(); ?>
    7777                </ul>
Note: See TracChangeset for help on using the changeset viewer.