[wp-trac] [WordPress Trac] #60700: Coding Standards fixes for WP 6.6
WordPress Trac
noreply at wordpress.org
Sat Apr 13 16:32:11 UTC 2024
#60700: Coding Standards fixes for WP 6.6
--------------------------------------+-------------------------------
Reporter: mukesh27 | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.6
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: coding-standards
--------------------------------------+-------------------------------
Comment (by SergeyBiryukov):
In [changeset:"57990" 57990]:
{{{
#!CommitTicketReference repository="" revision="57990"
Users: Account for returning `false` from the `authenticate` filter.
While technically only `null`, `WP_User`, or `WP_Error` should be returned
from the `authenticate` filter, a plugin might return boolean `false`
instead, which would trigger the `authentication_failed` error prior to
[57882].
This commit aims to preserve that behavior in case `false` is returned.
Follow-up to [57882].
Props johnbillion.
See #60700.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60700#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list