From 4ebe0cbc480de622ca75d0cd7bc36e5f5ecd8b3b Mon Sep 17 00:00:00 2001 From: dd32 Date: Mon, 4 Oct 2010 09:43:02 +0000 Subject: [PATCH] Fix a hard-coded database table typo. s/wp_users/$wpdb->users/ git-svn-id: http://svn.automattic.com/wordpress/trunk@15702 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/user.php b/wp-includes/user.php index 8ba06e850..692dbce27 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -416,7 +416,7 @@ class WP_User_Query { FROM wp_posts $where GROUP BY post_author - ) p ON (wp_users.ID = p.post_author) + ) p ON ({$wpdb->users}.ID = p.post_author) "; $orderby = 'post_count'; }