After [36333] correctly use esc_attr()
instead of esc_attr__()
.
See #35313. git-svn-id: https://develop.svn.wordpress.org/trunk@36334 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
838f953d4d
commit
2e78169eee
@ -1199,7 +1199,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
'<a href="%s" aria-label="%s">%s</a>',
|
||||
wp_nonce_url( admin_url( sprintf( $post_type_object->_edit_link . '&action=untrash', $post->ID ) ), 'untrash-post_' . $post->ID ),
|
||||
/* translators: %s: post title */
|
||||
esc_attr__( sprintf( __( 'Restore “%s” from the Trash' ), $title ) ),
|
||||
esc_attr( sprintf( __( 'Restore “%s” from the Trash' ), $title ) ),
|
||||
__( 'Restore' )
|
||||
);
|
||||
} elseif ( EMPTY_TRASH_DAYS ) {
|
||||
@ -1207,7 +1207,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
'<a href="%s" class="submitdelete" aria-label="%s">%s</a>',
|
||||
get_delete_post_link( $post->ID ),
|
||||
/* translators: %s: post title */
|
||||
esc_attr__( sprintf( __( 'Move “%s” to the Trash' ), $title ) ),
|
||||
esc_attr( sprintf( __( 'Move “%s” to the Trash' ), $title ) ),
|
||||
_x( 'Trash', 'verb' )
|
||||
);
|
||||
}
|
||||
@ -1216,7 +1216,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
'<a href="%s" class="submitdelete" aria-label="%s">%s</a>',
|
||||
get_delete_post_link( $post->ID, '', true ),
|
||||
/* translators: %s: post title */
|
||||
esc_attr__( sprintf( __( 'Delete “%s” permanently' ), $title ) ),
|
||||
esc_attr( sprintf( __( 'Delete “%s” permanently' ), $title ) ),
|
||||
__( 'Delete Permanently' )
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user