Remove redundant strtolower() in WP_HTTP. Props rmccue. Fixes #14168
git-svn-id: http://svn.automattic.com/wordpress/trunk@15362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
68849c1bd5
commit
ea54f7f91c
|
@ -453,7 +453,7 @@ class WP_Http {
|
|||
} else {
|
||||
$newheaders[$key] = trim( $value );
|
||||
}
|
||||
if ( 'set-cookie' == strtolower( $key ) )
|
||||
if ( 'set-cookie' == $key )
|
||||
$cookies[] = new WP_Http_Cookie( $value );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue