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

WordPress Trac noreply at wordpress.org
Wed Dec 9 20:49:43 UTC 2020


#52003: Undefined index: PHP_AUTH_PW /wp-includes/user.php on line 469
-----------------------------------+---------------------
 Reporter:  MadtownLems            |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  5.6.1
Component:  Application Passwords  |     Version:  5.6
 Severity:  normal                 |  Resolution:
 Keywords:                         |     Focuses:
-----------------------------------+---------------------
Changes (by TimothyBlynJacobs):

 * milestone:  Awaiting Review => 5.6.1


Comment:

 Thanks @MadtownLems! I'm not very familiar with shibboleth either. I'm
 wondering if we may want to run even if `PHP_AUTH_PW` isn't set, but set
 it to an empty string.

 But in my testing at least, even if a password is omitted when doing Basic
 Auth `PHP_AUTH_PW` is still set, but to an empty string. Does anyone know
 if that is always the case when a password is omitted? If so, then I would
 agree we can just also check for `PHP_AUTH_PW` being set.

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


More information about the wp-trac mailing list