[wp-trac] [WordPress Trac] #21744: WP_User_Query does not support post type

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 31 20:38:13 UTC 2012


#21744: WP_User_Query does not support post type
-----------------------------------------+------------------------------
 Reporter:  AliMH                        |       Owner:
     Type:  enhancement                  |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Users                        |     Version:  3.4.1
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |
-----------------------------------------+------------------------------
Changes (by AliMH):

 * keywords:  reporter-feedback => has-patch reporter-feedback


Comment:

 Replying to [comment:1 wonderboymusic]:
 > WP_User_Query is meant to query and/or join wp_users and wp_usermeta,
 neither of which have anything to do with posts, unless you are talking
 about ordering by post_count? What's your use case? Are you trying to
 order authors by their post count for a particular post_type?

 sorry'i'm new in add patch to wordpress trac, thanks john for your help.
 yea in post_count it's only support 'post' but most of time we need get
 post_count per post types.
 this patch is not a big deal but need by alot of serious developer.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21744#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list