From 71b9b522e2292b91451dc3871d7c95189c545e46 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 26 Jul 2015 23:23:48 +0000 Subject: [PATCH] Merge some similar media-related strings. props pavelevap. fixes #32390. git-svn-id: https://develop.svn.wordpress.org/trunk@33435 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/upload.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/upload.php b/src/wp-admin/upload.php index e7fedc68ad..7154148cdd 100644 --- a/src/wp-admin/upload.php +++ b/src/wp-admin/upload.php @@ -264,11 +264,11 @@ if ( ! empty( $_GET['untrashed'] ) && $untrashed = absint( $_GET['untrashed'] ) $_SERVER['REQUEST_URI'] = remove_query_arg(array('untrashed'), $_SERVER['REQUEST_URI']); } -$messages[1] = __('Media attachment updated.'); -$messages[2] = __('Media permanently deleted.'); -$messages[3] = __('Error saving media attachment.'); -$messages[4] = __('Media moved to the trash.') . ' ' . __('Undo') . ''; -$messages[5] = __('Media restored from the trash.'); +$messages[1] = __( 'Media attachment updated.' ); +$messages[2] = __( 'Media attachment permanently deleted.' ); +$messages[3] = __( 'Error saving media attachment.' ); +$messages[4] = __( 'Media attachment moved to the trash.' ) . ' ' . __( 'Undo' ) . ''; +$messages[5] = __( 'Media attachment restored from the trash.' ); if ( ! empty( $_GET['message'] ) && isset( $messages[ $_GET['message'] ] ) ) { $message = $messages[ $_GET['message'] ];