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:
parent
097b3ad595
commit
31497f69a1
@ -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.' ) );
|
||||
|
Loading…
Reference in New Issue
Block a user