WordPress.org

Make WordPress Core

Changeset 6065


Ignore:
Timestamp:
09/08/2007 05:20:35 PM (13 years ago)
Author:
markjaquith
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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'];
Note: See TracChangeset for help on using the changeset viewer.