Add "View trash" link to the notice after moving to the trash

git-svn-id: https://develop.svn.wordpress.org/trunk@11952 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2009-09-19 01:06:17 +00:00
parent 4a65c047c5
commit 1011e0cf58
4 changed files with 36 additions and 21 deletions
+1
View File
@@ -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 ' <a href="' . admin_url('edit.php?post_status=trash') . '">' . __('View trash') . '</a> ';
unset($_GET['trashed']);
}