Ticket #20049: 20049.diff
File 20049.diff, 549 bytes (added by , 13 years ago) |
---|
-
wp-includes/query.php
2476 2476 $where .= " OR $wpdb->posts.post_status = '$state'"; 2477 2477 } 2478 2478 2479 if ( is_admin()) {2479 if ( $this->is_admin ) { 2480 2480 // Add protected states that should show in the admin all list. 2481 2481 $admin_all_states = get_post_stati( array('protected' => true, 'show_in_admin_all_list' => true) ); 2482 2482 foreach ( (array) $admin_all_states as $state )