Make WordPress Core


Ignore:
Timestamp:
10/20/2011 03:04:46 PM (13 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/includes/class-wp-posts-list-table.php

    r19011 r19028  
    10311031    ?>
    10321032        <p class="submit inline-edit-save">
    1033             <a accesskey="c" href="#inline-edit" title="<?php _e( 'Cancel' ); ?>" class="button-secondary cancel alignleft"><?php _e( 'Cancel' ); ?></a>
     1033            <a accesskey="c" href="#inline-edit" title="<?php esc_attr_e( 'Cancel' ); ?>" class="button-secondary cancel alignleft"><?php _e( 'Cancel' ); ?></a>
    10341034            <?php if ( ! $bulk ) {
    10351035                wp_nonce_field( 'inlineeditnonce', '_inline_edit', false );
    10361036                $update_text = __( 'Update' );
    10371037                ?>
    1038                 <a accesskey="s" href="#inline-edit" title="<?php _e( 'Update' ); ?>" class="button-primary save alignright"><?php echo esc_attr( $update_text ); ?></a>
     1038                <a accesskey="s" href="#inline-edit" title="<?php esc_attr_e( 'Update' ); ?>" class="button-primary save alignright"><?php echo esc_attr( $update_text ); ?></a>
    10391039                <img class="waiting" style="display:none;" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
    10401040            <?php } else {
Note: See TracChangeset for help on using the changeset viewer.