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

See #34521.
Built from https://develop.svn.wordpress.org/trunk@37958


git-svn-id: http://core.svn.wordpress.org/trunk@37899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2016-07-04 21:48:28 +00:00
parent fed5a03c8f
commit 7caf951bbf
2 changed files with 2 additions and 2 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.' ) );