[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 Apr 30 16:53:13 UTC 2019
#46748: authenticate filter hook does not behave as expected for priority values
less than 20
------------------------------------+------------------------------
Reporter: robert.peake | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 3.7
Severity: normal | Resolution:
Keywords: | Focuses:
------------------------------------+------------------------------
Changes (by SergeyBiryukov):
* version: trunk => 3.7
Comment:
Introduced in [24848].
At a glance, there's no need to lower the priority of
`wp_authenticate_username_password()`, it just needs to immediately return
`$user` if it's a `WP_Error`, like it was already done for an empty
username or password in [24850].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46748#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list