[wp-trac] [WordPress Trac] #32019: WP_User_Query: since 4.2 using array( 'who' => 'authors' ) has no effect on users query

WordPress Trac noreply at wordpress.org
Mon Apr 20 15:15:16 UTC 2015


#32019: WP_User_Query: since 4.2 using array( 'who' => 'authors' ) has no effect on
users query
------------------------------+---------------------------
 Reporter:  imath             |       Owner:  boonebgorges
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.2
Component:  Users             |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+---------------------------
Changes (by boonebgorges):

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


Comment:

 In [changeset:"32207"]:
 {{{
 #!CommitTicketReference repository="" revision="32207"
 Ensure that 'who' param is respected when generating meta_query in
 `WP_User_Query`.

 Since [31669], the 'who' param had been parsed after meta_query was
 generated,
 so that 'who' was effectively ignored.

 Props imath.
 Fixes #32019.
 }}}

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


More information about the wp-trac mailing list