[wp-trac] [WordPress Trac] #50961: Fix missing ref array in pre_get_users

WordPress Trac noreply at wordpress.org
Tue Nov 17 20:08:12 UTC 2020


#50961: Fix missing ref array in pre_get_users
--------------------------+------------------------------
 Reporter:  andy          |       Owner:  adamsilverstein
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.6
Component:  Users         |     Version:  4.4
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"49637" 49637]:
 {{{
 #!CommitTicketReference repository="" revision="49637"
 Users: Use `do_action_ref_array()` for `pre_get_users` and `pre_get_terms`
 actions.

 This brings some consistency with the other similar actions:

 * `pre_get_comments`
 * `pre_get_networks`
 * `pre_get_posts`
 * `pre_get_sites`
 * `pre_user_query`

 Follow-up to [29363] and [37572].

 Props andy, adamsilverstein, hellofromTonya, desrosj, SergeyBiryukov.
 Fixes #50961.
 }}}

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


More information about the wp-trac mailing list