Changeset 20325
- Timestamp:
- 03/30/2012 01:08:12 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r20171 r20325 2312 2312 // MIME-Type stuff for attachment browsing 2313 2313 2314 if ( isset($q['post_mime_type']) && '' != $q['post_mime_type'] ) { 2315 $table_alias = $post_status_join ? $wpdb->posts : ''; 2316 $whichmimetype = wp_post_mime_type_where($q['post_mime_type'], $table_alias); 2317 } 2314 if ( isset( $q['post_mime_type'] ) && '' != $q['post_mime_type'] ) 2315 $whichmimetype = wp_post_mime_type_where( $q['post_mime_type'], $wpdb->posts ); 2318 2316 2319 2317 $where .= $search . $whichauthor . $whichmimetype;
Note: See TracChangeset
for help on using the changeset viewer.