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

git-svn-id: http://svn.automattic.com/wordpress/trunk@10600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-02-19 19:19:20 +00:00
parent 92f96f913b
commit fbd0169493
1 changed files with 0 additions and 3 deletions

View File

@ -2210,9 +2210,6 @@ class WP_Query {
$distinct = apply_filters('posts_distinct', $distinct);
$limits = apply_filters( 'post_limits', $limits );
if ( ! empty($q['meta_key']) )
$fields = "$fields, $wpdb->postmeta.meta_value";
$fields = apply_filters('posts_fields', $fields);
}