WP_HTTP: Specifically mark a static function as being static
git-svn-id: https://develop.svn.wordpress.org/trunk@23602 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d15b5ca24b
commit
f936278590
|
@ -323,7 +323,7 @@ class WP_Http {
|
|||
* @param string $strResponse The full response string
|
||||
* @return array Array with 'headers' and 'body' keys.
|
||||
*/
|
||||
function processResponse($strResponse) {
|
||||
public static function processResponse($strResponse) {
|
||||
$res = explode("\r\n\r\n", $strResponse, 2);
|
||||
|
||||
return array('headers' => $res[0], 'body' => isset($res[1]) ? $res[1] : '');
|
||||
|
|
Loading…
Reference in New Issue