Merge duplicate strings related to Trash.
props pavelevap. fixes #33133. Built from https://develop.svn.wordpress.org/trunk@33431 git-svn-id: http://core.svn.wordpress.org/trunk@33398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -278,7 +278,7 @@ case 'untrash':
|
||||
wp_die( __( 'Unknown post type.' ) );
|
||||
|
||||
if ( ! current_user_can( 'delete_post', $post_id ) )
|
||||
wp_die( __( 'You are not allowed to move this item out of the Trash.' ) );
|
||||
wp_die( __( '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