WordPress.org

Make WordPress Core

Ticket #48351: 48351.diff

File 48351.diff, 678 bytes (added by takeshifurusato, 2 years ago)

fixed the documents

  • src/wp-includes/class-http.php

     
    645645         * @since 2.7.0
    646646         *
    647647         * @param string $strResponse The full response string
    648          * @return array Array with 'headers' and 'body' keys.
     648         * @return array {
     649         *      @type string $headers Http Response headers
     650         *      @type string $body Http Response body
     651        }
    649652         */
    650653        public static function processResponse( $strResponse ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
    651654                $res = explode( "\r\n\r\n", $strResponse, 2 );