[wp-trac] [WordPress Trac] #46748: authenticate filter hook does not behave as expected for priority values less than 20

WordPress Trac noreply at wordpress.org
Tue Jun 8 20:03:42 UTC 2021


#46748: authenticate filter hook does not behave as expected for priority values
less than 20
----------------------------------------+-----------------------------
 Reporter:  robert.peake                |       Owner:  SergeyBiryukov
     Type:  defect (bug)                |      Status:  accepted
 Priority:  normal                      |   Milestone:  5.8
Component:  Login and Registration      |     Version:  3.7
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:
----------------------------------------+-----------------------------

Comment (by audrasjb):

 Hi, I tested the patch. It still applies against trunk and it works fine
 in my testing: it returns `$user`/`$input_user` when the result is a
 `WP_Error` object.

 I'm not sure about which unit tests we should add here, though.

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


More information about the wp-trac mailing list