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:
dd32 2010-07-02 07:52:14 +00:00
parent 68849c1bd5
commit ea54f7f91c

View File

@ -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 );
} }
} }