WordPress.org

Make WordPress Core

Changeset 10600


Ignore:
Timestamp:
02/19/09 19:19:20 (5 years ago)
Author:
ryan
Message:

Remove meta_value from selected fields. Props filosofo. fixes #9177

File:
1 edited

Legend:

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

    r10598 r10600  
    22102210            $distinct = apply_filters('posts_distinct', $distinct); 
    22112211            $limits = apply_filters( 'post_limits', $limits ); 
    2212  
    2213             if ( ! empty($q['meta_key']) ) 
    2214                 $fields = "$fields, $wpdb->postmeta.meta_value"; 
    22152212 
    22162213            $fields = apply_filters('posts_fields', $fields); 
Note: See TracChangeset for help on using the changeset viewer.