Changeset 6065

Show
Ignore:
Timestamp:
09/08/07 17:20:35 (1 year ago)
Author:
markjaquith
Message:

Revert [6047] -- we await a better solution. see #4858

Files:

Legend:

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

    r6047 r6065  
    2121$post_status_q = ''; 
    2222$post_status_label = __('Posts'); 
    23  
    24 if ( !isset($_GET['post_status']) ) 
    25     $_GET['post_status'] = 'publish'; 
    26  
    27 if ( in_array( $_GET['post_status'], array_keys($post_stati) ) ) { 
     23if ( isset($_GET['post_status']) && in_array( $_GET['post_status'], array_keys($post_stati) ) ) { 
    2824    $post_status_label = $post_stati[$_GET['post_status']][1]; 
    2925    $post_status_q = '&post_status=' . $_GET['post_status'];