WordPress.org

Make WordPress Core

Changeset 10601


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/wp-includes/query.php

    r10599 r10601  
    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.