From fbd0169493fc74a544c5ffee8fea21f36a245d83 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 19 Feb 2009 19:19:20 +0000 Subject: [PATCH] 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 --- wp-includes/query.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/wp-includes/query.php b/wp-includes/query.php index 37a3dd72d0..bcbb3b89e3 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -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); }