Changeset 9038

Show
Ignore:
Timestamp:
09/30/08 17:51:50 (2 months ago)
Author:
ryan
Message:

Add Pages->Drafts

Files:

Legend:

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

    r9036 r9038  
    6666} 
    6767 
    68 $title = __('Pages'); 
     68if ( empty($title) ) 
     69    $title = __('View All Pages'); 
    6970$parent_file = 'edit.php'; 
    7071wp_enqueue_script('admin-forms'); 
     
    143144 
    144145$avail_post_stati = get_available_post_statuses('page'); 
    145  
     146if ( empty($locked_post_status) ) : 
    146147$status_links = array(); 
    147148$num_posts = wp_count_posts('page', 'readable'); 
     
    162163echo implode(' |</li>', $status_links) . '</li>'; 
    163164unset($status_links); 
     165endif; 
    164166?> 
    165167</ul> 
  • trunk/wp-admin/menu.php

    r9035 r9038  
    4343$menu[20] = array( __('Pages'), 'edit_pages', 'page-new.php' ); 
    4444    $submenu['page-new.php'][5] = array( __('Write'), 'edit_pages', 'page-new.php' ); 
    45     //$submenu['page-new.php'][10] = array( __('Drafts'), 'edit_pages', 'edit-pages.php?post_status=draft' ); 
     45    $submenu['page-new.php'][10] = array( __('Drafts'), 'edit_pages', 'edit-page-drafts.php' ); 
    4646    $submenu['page-new.php'][15] = array( __('View All'), 'edit_pages', 'edit-pages.php' ); 
    4747