Changeset 14108 for trunk/wp-includes/query.php
- Timestamp:
- 04/16/2010 02:08:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r14072 r14108 2256 2256 if ( is_admin() ) { 2257 2257 // Add protected states that should show in the admin all list. 2258 $admin_all_states = get_post_stati( array('protected' => true, 'show_in_admin_all_list' => true) , 'names', 'and');2258 $admin_all_states = get_post_stati( array('protected' => true, 'show_in_admin_all_list' => true) ); 2259 2259 foreach ( (array) $admin_all_states as $state ) 2260 2260 $where .= " OR $wpdb->posts.post_status = '$state'";
Note: See TracChangeset
for help on using the changeset viewer.