Make WordPress Core

Ticket #20049: 20049.diff

File 20049.diff, 549 bytes (added by nacin, 13 years ago)
  • wp-includes/query.php

     
    24762476                                $where .= " OR $wpdb->posts.post_status = '$state'";
    24772477                        }
    24782478
    2479                         if ( is_admin() ) {
     2479                        if ( $this->is_admin ) {
    24802480                                // Add protected states that should show in the admin all list.
    24812481                                $admin_all_states = get_post_stati( array('protected' => true, 'show_in_admin_all_list' => true) );
    24822482                                foreach ( (array) $admin_all_states as $state )