Docs: Add more specific description for `WP_Http::processResponse()` return value.
Props marekdedic, takeshifurusato. Fixes #48351. Built from https://develop.svn.wordpress.org/trunk@47161 git-svn-id: http://core.svn.wordpress.org/trunk@46961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7e331ab235
commit
2f58dc5ce9
wp-includes
|
@ -651,7 +651,12 @@ class WP_Http {
|
|||
* @since 2.7.0
|
||||
*
|
||||
* @param string $strResponse The full response string.
|
||||
* @return array Array with 'headers' and 'body' keys.
|
||||
* @return array {
|
||||
* Array with response headers and body.
|
||||
*
|
||||
* @type string $headers HTTP response headers.
|
||||
* @type string $body HTTP response body.
|
||||
* }
|
||||
*/
|
||||
public static function processResponse( $strResponse ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
|
||||
$res = explode( "\r\n\r\n", $strResponse, 2 );
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.4-alpha-47160';
|
||||
$wp_version = '5.4-alpha-47161';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue