Ticket #13755: 13755.2.diff
| File 13755.2.diff, 433 bytes (added by ryan, 3 years ago) |
|---|
-
wp-includes/query.php
2061 2061 } elseif ( in_array('attachment', (array)$post_type) ) { 2062 2062 $post_status_join = true; 2063 2063 } 2064 if ( empty($q['post_status']) )2065 $q['post_status'] = 'publish';2066 2064 } else { 2067 2065 $whichcat = " AND 0 "; 2068 2066 }
