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

WordPress Trac noreply at wordpress.org
Thu Oct 29 18:16:42 UTC 2020


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

Comment (by adamsilverstein):

 @SergeyBiryukov - reviewing [attachment:"50961.diff"] - does changing
 `$this` to `array( &$this )` change anything in terms of filter consumers
 use? I guess if all the tests pass we are fine!

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


More information about the wp-trac mailing list