[wp-trac] [WordPress Trac] #52003: Undefined index: PHP_AUTH_PW /wp-includes/user.php on line 469

WordPress Trac noreply at wordpress.org
Sat Jan 2 21:34:26 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                                          |
-------------------------------------------------+-------------------------
Changes (by TimothyBlynJacobs):

 * owner:  (none) => TimothyBlynJacobs
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"49919" 49919]:
 {{{
 #!CommitTicketReference repository="" revision="49919"
 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.

 Props MadtownLems, johnbillion, richard.tape, engahmeds3ed.
 Fixes #52003.
 }}}

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


More information about the wp-trac mailing list