We only need strpos here. Ensures PHP4 compat. props mailnew2ster, fixes #14187.
git-svn-id: https://develop.svn.wordpress.org/trunk@16762 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a63bf413ad
commit
af3222dc7e
@ -1426,7 +1426,7 @@ class WP_Http_Curl {
|
||||
$theBody = substr( $theResponse, $headerLength );
|
||||
else
|
||||
$theBody = '';
|
||||
if ( false !== strrpos($theHeaders, "\r\n\r\n") ) {
|
||||
if ( false !== strpos($theHeaders, "\r\n\r\n") ) {
|
||||
$headerParts = explode("\r\n\r\n", $theHeaders);
|
||||
$theHeaders = $headerParts[ count($headerParts) -1 ];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user