Remove redundant strtolower() in WP_HTTP. Props rmccue. Fixes #14168
git-svn-id: https://develop.svn.wordpress.org/trunk@15362 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bea71072af
commit
fd8152d074
|
@ -453,7 +453,7 @@ class WP_Http {
|
||||||
} else {
|
} else {
|
||||||
$newheaders[$key] = trim( $value );
|
$newheaders[$key] = trim( $value );
|
||||||
}
|
}
|
||||||
if ( 'set-cookie' == strtolower( $key ) )
|
if ( 'set-cookie' == $key )
|
||||||
$cookies[] = new WP_Http_Cookie( $value );
|
$cookies[] = new WP_Http_Cookie( $value );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue