[wp-trac] [WordPress Trac] #32250: Ability to get_users() who have published posts

WordPress Trac noreply at wordpress.org
Tue Jun 2 13:29:48 UTC 2015


#32250: Ability to get_users() who have published posts
--------------------------------+-----------------------
 Reporter:  joehoyle            |       Owner:  joehoyle
     Type:  enhancement         |      Status:  closed
 Priority:  normal              |   Milestone:  4.3
Component:  Query               |     Version:
 Severity:  normal              |  Resolution:  fixed
 Keywords:  has-patch rest-api  |     Focuses:
--------------------------------+-----------------------
Changes (by boonebgorges):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"32683"]:
 {{{
 #!CommitTicketReference repository="" revision="32683"
 Introduce `'has_published_posts'` parameter for `WP_User_Query`.

 This allows user query results to be limited to those users who have
 published
 posts in at least one of the specified post types.

 Props joehoyle, boonebgorges.
 Fixes #32250.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32250#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list