Make WordPress Core


Ignore:
Timestamp:
02/02/2020 03:25:57 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add more specific description for WP_Http::processResponse() return value.

Props marekdedic, takeshifurusato.
Fixes #48351.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-http.php

    r47122 r47161  
    652652     *
    653653     * @param string $strResponse The full response string.
    654      * @return array Array with 'headers' and 'body' keys.
     654     * @return array {
     655     *     Array with response headers and body.
     656     *
     657     *     @type string $headers HTTP response headers.
     658     *     @type string $body    HTTP response body.
     659     * }
    655660     */
    656661    public static function processResponse( $strResponse ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
Note: See TracChangeset for help on using the changeset viewer.