Changeset 13049 for trunk/wp-includes/query.php
- Timestamp:
- 02/10/2010 08:37:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r13037 r13049 2103 2103 } else { 2104 2104 foreach ( get_post_stati() as $status ) { 2105 if ( in_array( $status, $q_status ) ) 2106 $r_status[] = "$wpdb->posts.post_status = '$status'"; 2105 if ( in_array( $status, $q_status ) ) { 2106 if ( 'private' == $status ) 2107 $p_status[] = "$wpdb->posts.post_status = '$status'"; 2108 else 2109 $r_status[] = "$wpdb->posts.post_status = '$status'"; 2110 } 2107 2111 } 2108 2112 }
Note: See TracChangeset
for help on using the changeset viewer.