Make WordPress Core


Ignore:
Timestamp:
12/14/2015 07:20:58 PM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Add missing parameter and return descriptions to the DocBlock for WP_Http_Curl::stream_headers().

See #32246.

File:
1 edited

Legend:

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

    r34639 r35930  
    299299
    300300    /**
    301      * Grab the headers of the cURL request
    302      *
    303      * Each header is sent individually to this callback, so we append to the $header property for temporary storage
     301     * Grabs the headers of the cURL request.
     302     *
     303     * Each header is sent individually to this callback, so we append to the `$header` property
     304     * for temporary storage
    304305     *
    305306     * @since 3.2.0
    306307     * @access private
    307      * @return int
     308     *
     309     * @param resource $handle  cURL handle.
     310     * @param string   $headers cURL request headers.
     311     * @return int Length of the request headers.
    308312     */
    309313    private function stream_headers( $handle, $headers ) {
Note: See TracChangeset for help on using the changeset viewer.