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 -1
View File
@@ -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 '<br />';
echo ' <a href="' . admin_url('edit-comments.php?comment_status=trash') . '">' . __('View trash') . '</a><br />';
}
if ( $untrashed > 0 ) {
printf( _n( '%s comment restored from the trash', '%s comments restored from the trash', $untrashed ), $untrashed );