mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
We only need strpos here. Ensures PHP4 compat. props mailnew2ster, fixes #14187.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4dae6777c0
commit
26d7de2d93
@ -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…
Reference in New Issue
Block a user