Make WordPress Core


Ignore:
Timestamp:
09/19/2009 01:06:17 AM (17 years ago)
Author:
azaozz
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-pages.php

    r11930 r11952  
    164164if ( isset($_GET['trashed']) && (int) $_GET['trashed'] ) {
    165165        printf( _n( 'Page moved to the trash.', '%s pages moved to the trash.', $_GET['trashed'] ), number_format_i18n( $_GET['trashed'] ) );
     166        echo ' <a href="' . admin_url('edit-pages.php?post_status=trash') . '">' . __('View trash') . '</a> ';
    166167        unset($_GET['trashed']);
    167168}
Note: See TracChangeset for help on using the changeset viewer.