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
This commit is contained in:
dd32 2010-10-04 09:43:02 +00:00
parent 057627e640
commit 4ebe0cbc48
1 changed files with 1 additions and 1 deletions

View File

@ -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';
}