mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-29 15:44:27 +00:00
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:
@@ -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.' ) );
|
||||
|
||||
Reference in New Issue
Block a user