[wp-trac] [WordPress Trac] #52003: Undefined index: PHP_AUTH_PW /wp-includes/user.php on line 469
WordPress Trac
noreply at wordpress.org
Thu Jan 28 00:31:25 UTC 2021
#52003: Undefined index: PHP_AUTH_PW /wp-includes/user.php on line 469
-------------------------------------------------+-------------------------
Reporter: MadtownLems | Owner:
| TimothyBlynJacobs
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.6.1
Component: Application Passwords | Version: 5.6
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch has-unit- | Focuses:
tests fixed-major |
-------------------------------------------------+-------------------------
Changes (by whyisjake):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"50045" 50045]:
{{{
#!CommitTicketReference repository="" revision="50045"
App Passwords: Only attempt auth if the username and password are set.
Previously, only the username was checked which caused a PHP warning in
some server setups, for instance Shibboleth SSO, where the server only
populates the PHP_AUTH_USER field.
This brings the changes from [49919] to the 5.6 branch.
Props MadtownLems, johnbillion, richard.tape, engahmeds3ed,
TimothyBlynJacobs.
Fixes #52003.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52003#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list