Make WordPress Core

Changeset 36334


Ignore:
Timestamp:
01/17/2016 04:02:24 PM (9 years ago)
Author:
afercia
Message:

After [36333] correctly use esc_attr() instead of esc_attr__().

See #35313.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r36333 r36334  
    12001200                    wp_nonce_url( admin_url( sprintf( $post_type_object->_edit_link . '&action=untrash', $post->ID ) ), 'untrash-post_' . $post->ID ),
    12011201                    /* translators: %s: post title */
    1202                     esc_attr__( sprintf( __( 'Restore “%s” from the Trash' ), $title ) ),
     1202                    esc_attr( sprintf( __( 'Restore “%s” from the Trash' ), $title ) ),
    12031203                    __( 'Restore' )
    12041204                );
     
    12081208                    get_delete_post_link( $post->ID ),
    12091209                    /* translators: %s: post title */
    1210                     esc_attr__( sprintf( __( 'Move “%s” to the Trash' ), $title ) ),
     1210                    esc_attr( sprintf( __( 'Move “%s” to the Trash' ), $title ) ),
    12111211                    _x( 'Trash', 'verb' )
    12121212                );
     
    12171217                    get_delete_post_link( $post->ID, '', true ),
    12181218                    /* translators: %s: post title */
    1219                     esc_attr__( sprintf( __( 'Delete “%s” permanently' ), $title ) ),
     1219                    esc_attr( sprintf( __( 'Delete “%s” permanently' ), $title ) ),
    12201220                    __( 'Delete Permanently' )
    12211221                );
Note: See TracChangeset for help on using the changeset viewer.