From 2e78169eeeb6ad1db059ef35bc07ece4d9daf615 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Sun, 17 Jan 2016 16:02:24 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/class-wp-posts-list-table.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/class-wp-posts-list-table.php b/src/wp-admin/includes/class-wp-posts-list-table.php index 02cb433cbf..5422e5eefe 100644 --- a/src/wp-admin/includes/class-wp-posts-list-table.php +++ b/src/wp-admin/includes/class-wp-posts-list-table.php @@ -1199,7 +1199,7 @@ class WP_Posts_List_Table extends WP_List_Table { '%s', 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 { '%s', 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 { '%s', 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' ) ); }