Changeset 6910 for trunk/wp-includes/query.php
- Timestamp:
- 02/19/2008 06:13:20 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r6823 r6910 787 787 $whichcat = ''; 788 788 $whichauthor = ''; 789 $whichmimetype = ''; 789 790 $where = ''; 790 791 $limits = ''; … … 1152 1153 } 1153 1154 1154 $where .= $search.$whichcat.$whichauthor; 1155 // MIME-Type stuff for attachment browsing 1156 1157 if ( '' != $q['post_mime_type'] ) 1158 $whichmimetype = wp_post_mime_type_where($q['post_mime_type']); 1159 1160 $where .= $search.$whichcat.$whichauthor.$whichmimetype; 1155 1161 1156 1162 if ( empty($q['order']) || ((strtoupper($q['order']) != 'ASC') && (strtoupper($q['order']) != 'DESC')) )
Note: See TracChangeset
for help on using the changeset viewer.