Text Changes: Remove duplicate string, use the one we already have.

See #34521.

git-svn-id: https://develop.svn.wordpress.org/trunk@37958 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2016-07-04 21:47:19 +00:00
parent 097b3ad595
commit 31497f69a1
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ if ( $doaction ) {
break;
foreach ( (array) $post_ids as $post_id ) {
if ( !current_user_can( 'delete_post', $post_id ) )
wp_die( __( 'Sorry, you are not allowed to move this item out of the Trash.' ) );
wp_die( __( 'Sorry, you are not allowed to restore this item from the Trash.' ) );
if ( !wp_untrash_post( $post_id ) )
wp_die( __( 'Error in restoring from Trash.' ) );