Fix blogger auth. Props andy. fixes #4847
git-svn-id: http://svn.automattic.com/wordpress/trunk@5966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
014915caea
commit
0cb5968afc
|
@ -84,7 +84,7 @@ class Blogger_Import {
|
||||||
if ( empty($this->blogs) ) {
|
if ( empty($this->blogs) ) {
|
||||||
$headers = array(
|
$headers = array(
|
||||||
"GET /feeds/default/blogs HTTP/1.0",
|
"GET /feeds/default/blogs HTTP/1.0",
|
||||||
"Host: www2.blogger.com",
|
"Host: www.blogger.com",
|
||||||
"Authorization: AuthSub token=\"$this->token\""
|
"Authorization: AuthSub token=\"$this->token\""
|
||||||
);
|
);
|
||||||
$request = join( "\r\n", $headers ) . "\r\n\r\n";
|
$request = join( "\r\n", $headers ) . "\r\n\r\n";
|
||||||
|
|
Loading…
Reference in New Issue