mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Fix typo in Proxy Authorization header. Props thales.tede. Fixes #12995
git-svn-id: http://svn.automattic.com/wordpress/trunk@14129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7058bb3db8
commit
cf0e90578e
@ -1591,7 +1591,7 @@ class WP_HTTP_Proxy {
|
||||
* @return string
|
||||
*/
|
||||
function authentication_header() {
|
||||
return 'Proxy-Authentication: Basic ' . base64_encode( $this->authentication() );
|
||||
return 'Proxy-Authorization: Basic ' . base64_encode( $this->authentication() );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user