mirror of
git://develop.git.wordpress.org/
synced 2025-03-19 19:39:51 +01:00
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. git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50045 602fd350-edb4-49c9-b593-d223f7449a82