Changeset 21776 for trunk/wp-includes/query.php
- Timestamp:
- 09/06/2012 07:01:21 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r21756 r21776 2332 2332 } elseif ( 'none' == $q['orderby'] ) { 2333 2333 $orderby = ''; 2334 } elseif ( $q['orderby'] == 'post__in' && ! empty( $post__in ) ) { 2335 $orderby = "FIELD( {$wpdb->posts}.ID, $post__in )"; 2334 2336 } else { 2335 2337 // Used to filter values
Note: See TracChangeset
for help on using the changeset viewer.