From ee0d1536295e1d64286b5319978cf3e4106f7ac7 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 3 Oct 2015 13:56:05 +0000 Subject: [PATCH] Merge some strings in `wp-admin/upload.php` with existing strings with the same meaning. Props pavelevap. Fixes #31727. git-svn-id: https://develop.svn.wordpress.org/trunk@34797 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/upload.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/upload.php b/src/wp-admin/upload.php index 66ec318a43..72c11ceced 100644 --- a/src/wp-admin/upload.php +++ b/src/wp-admin/upload.php @@ -128,7 +128,7 @@ if ( $doaction ) { break; foreach ( (array) $post_ids as $post_id ) { if ( !current_user_can( 'delete_post', $post_id ) ) - wp_die( __( 'You are not allowed to move this post to the trash.' ) ); + wp_die( __( 'You are not allowed to move this item to the Trash.' ) ); if ( !wp_trash_post( $post_id ) ) wp_die( __( 'Error in moving to Trash.' ) ); @@ -140,7 +140,7 @@ if ( $doaction ) { break; foreach ( (array) $post_ids as $post_id ) { if ( !current_user_can( 'delete_post', $post_id ) ) - wp_die( __( 'You are not allowed to move this post out of the trash.' ) ); + wp_die( __( 'You are not allowed to move this item out of the Trash.' ) ); if ( !wp_untrash_post( $post_id ) ) wp_die( __( 'Error in restoring from Trash.' ) ); @@ -152,7 +152,7 @@ if ( $doaction ) { break; foreach ( (array) $post_ids as $post_id_del ) { if ( !current_user_can( 'delete_post', $post_id_del ) ) - wp_die( __( 'You are not allowed to delete this post.' ) ); + wp_die( __( 'You are not allowed to delete this item.' ) ); if ( !wp_delete_attachment( $post_id_del ) ) wp_die( __( 'Error in deleting.' ) );