Ticket #8870: query.diff
| File query.diff, 536 bytes (added by , 18 years ago) |
|---|
-
wp-includes/query.php
2070 2070 $where .= " AND $wpdb->posts.post_type = 'page'"; 2071 2071 } elseif ($this->is_single) { 2072 2072 $where .= " AND $wpdb->posts.post_type = 'post'"; 2073 } elseif ( 'any' == $post_type ) {2073 } elseif ( 'any' == $post_type || $this->is_author ) { 2074 2074 $where .= ''; 2075 2075 } else { 2076 2076 $where .= " AND $wpdb->posts.post_type = '$post_type'";
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)