wp_populate_basic_auth_from_authorization_header
wp_populate_basic_auth_from_authorization_header ( No parameters )
- Introduced in WordPress: 5.6.0
- Deprecated in WordPress: —
Description
Populates the Basic Auth server details from the Authorization header.Some servers running in CGI or FastCGI mode don't pass the Authorization
header on to WordPress. If it's been rewritten to the `HTTP_AUTHORIZATION` header,
fill in the proper $_SERVER variables instead.