Make WordPress Core


Ignore:
Timestamp:
07/27/2008 04:58:35 PM (16 years ago)
Author:
ryan
Message:

No need to order results. Props dbuser123. see #7415

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r8261 r8469  
    29252925    $id_list = join(',', $ids);
    29262926    $cache = array();
    2927     if ( $meta_list = $wpdb->get_results("SELECT post_id, meta_key, meta_value FROM $wpdb->postmeta WHERE post_id IN ($id_list) ORDER BY post_id, meta_key", ARRAY_A) ) {
     2927    if ( $meta_list = $wpdb->get_results("SELECT post_id, meta_key, meta_value FROM $wpdb->postmeta WHERE post_id IN ($id_list)", ARRAY_A) ) {
    29282928        foreach ( (array) $meta_list as $metarow) {
    29292929            $mpid = (int) $metarow['post_id'];
Note: See TracChangeset for help on using the changeset viewer.