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

See #35313.
Built from https://develop.svn.wordpress.org/trunk@36334


git-svn-id: http://core.svn.wordpress.org/trunk@36301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2016-01-17 16:03:25 +00:00
parent 497de1d658
commit 82c596594b
2 changed files with 4 additions and 4 deletions

View File

@ -1199,7 +1199,7 @@ class WP_Posts_List_Table extends WP_List_Table {
'<a href="%s" aria-label="%s">%s</a>', '<a href="%s" aria-label="%s">%s</a>',
wp_nonce_url( admin_url( sprintf( $post_type_object->_edit_link . '&amp;action=untrash', $post->ID ) ), 'untrash-post_' . $post->ID ), wp_nonce_url( admin_url( sprintf( $post_type_object->_edit_link . '&amp;action=untrash', $post->ID ) ), 'untrash-post_' . $post->ID ),
/* translators: %s: post title */ /* translators: %s: post title */
esc_attr__( sprintf( __( 'Restore &#8220;%s&#8221; from the Trash' ), $title ) ), esc_attr( sprintf( __( 'Restore &#8220;%s&#8221; from the Trash' ), $title ) ),
__( 'Restore' ) __( 'Restore' )
); );
} elseif ( EMPTY_TRASH_DAYS ) { } 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>', '<a href="%s" class="submitdelete" aria-label="%s">%s</a>',
get_delete_post_link( $post->ID ), get_delete_post_link( $post->ID ),
/* translators: %s: post title */ /* translators: %s: post title */
esc_attr__( sprintf( __( 'Move &#8220;%s&#8221; to the Trash' ), $title ) ), esc_attr( sprintf( __( 'Move &#8220;%s&#8221; to the Trash' ), $title ) ),
_x( 'Trash', 'verb' ) _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>', '<a href="%s" class="submitdelete" aria-label="%s">%s</a>',
get_delete_post_link( $post->ID, '', true ), get_delete_post_link( $post->ID, '', true ),
/* translators: %s: post title */ /* translators: %s: post title */
esc_attr__( sprintf( __( 'Delete &#8220;%s&#8221; permanently' ), $title ) ), esc_attr( sprintf( __( 'Delete &#8220;%s&#8221; permanently' ), $title ) ),
__( 'Delete Permanently' ) __( 'Delete Permanently' )
); );
} }

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.5-alpha-1453045632755'; $wp_version = '4.5-alpha-1453046591767';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.