From 26d7de2d9327fa2f16695b1b971179fc4c654314 Mon Sep 17 00:00:00 2001 From: nacin Date: Tue, 7 Dec 2010 07:17:06 +0000 Subject: [PATCH] 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 --- wp-includes/class-http.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index 4d63ffe92..cdd7784b5 100644 --- a/wp-includes/class-http.php +++ b/wp-includes/class-http.php @@ -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 ]; }