diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index f3b95a74bb..de37533d8f 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -129,7 +129,7 @@ if ( isset($_GET['approved']) || isset($_GET['deleted']) || isset($_GET['trashed } if ( $trashed > 0 ) { printf( _n( '%s comment moved to the trash', '%s comments moved to the trash', $trashed ), $trashed ); - echo '
'; + echo ' ' . __('View trash') . '
'; } if ( $untrashed > 0 ) { printf( _n( '%s comment restored from the trash', '%s comments restored from the trash', $untrashed ), $untrashed ); diff --git a/wp-admin/edit-pages.php b/wp-admin/edit-pages.php index f8a73ea83c..4879c0090e 100644 --- a/wp-admin/edit-pages.php +++ b/wp-admin/edit-pages.php @@ -163,6 +163,7 @@ if ( isset($_GET['deleted']) && (int) $_GET['deleted'] ) { } if ( isset($_GET['trashed']) && (int) $_GET['trashed'] ) { printf( _n( 'Page moved to the trash.', '%s pages moved to the trash.', $_GET['trashed'] ), number_format_i18n( $_GET['trashed'] ) ); + echo ' ' . __('View trash') . ' '; unset($_GET['trashed']); } if ( isset($_GET['untrashed']) && (int) $_GET['untrashed'] ) { diff --git a/wp-admin/edit.php b/wp-admin/edit.php index fe40c6d754..a117a90a82 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -167,6 +167,7 @@ if ( isset($_GET['deleted']) && (int) $_GET['deleted'] ) { if ( isset($_GET['trashed']) && (int) $_GET['trashed'] ) { printf( _n( 'Post moved to the trash.', '%s posts moved to the trash.', $_GET['trashed'] ), number_format_i18n( $_GET['trashed'] ) ); + echo ' ' . __('View trash') . ' '; unset($_GET['trashed']); } diff --git a/wp-admin/upload.php b/wp-admin/upload.php index 9462c06ee0..2c52ee90e7 100644 --- a/wp-admin/upload.php +++ b/wp-admin/upload.php @@ -165,9 +165,20 @@ if ( isset($_GET['detached']) ) { $is_trash = ( isset($_GET['status']) && $_GET['status'] == 'trash' ); wp_enqueue_script('media'); -require_once('admin-header.php'); ?> +require_once('admin-header.php'); - + +
+ +

' . __('Search results for “%s”') . '', esc_html( get_search_query() ) ); ?> +

+ +' . __('View trash') . ' '; +$messages[5] = __('Media restored from the trash.'); if ( isset($_GET['message']) && (int) $_GET['message'] ) { $message = $messages[$_GET['message']]; $_SERVER['REQUEST_URI'] = remove_query_arg(array('message'), $_SERVER['REQUEST_URI']); } -?> - - -
- -

' . __('Search results for “%s”') . '', esc_html( get_search_query() ) ); ?> -

- - +if ( !empty($message) ) { ?>

- +