Make WordPress Core


Ignore:
Timestamp:
09/03/2011 04:02:41 PM (15 years ago)
Author:
duck_
Message:

Fix typos in documentation (wp-includes/[a-h]). See #18560.

File:
1 edited

Legend:

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

    r18457 r18633  
    223223     * Dispatches a HTTP request to a supporting transport.
    224224     *
    225      * Tests each transport in order to find a transport which matches the request arguements.
     225     * Tests each transport in order to find a transport which matches the request arguments.
    226226     * Also caches the transport instance to be used later.
    227227     *
     
    632632        $endDelay = time();
    633633
    634         // If the delay is greater than the timeout then fsockopen should't be used, because it will
     634        // If the delay is greater than the timeout then fsockopen shouldn't be used, because it will
    635635        // cause a long delay.
    636636        $elapseDelay = ($endDelay-$startDelay) > $r['timeout'];
     
    916916            $processedHeaders = WP_Http::processHeaders($meta['wrapper_data']);
    917917
    918         // Streams does not provide an error code which we can use to see why the request stream stoped.
     918        // Streams does not provide an error code which we can use to see why the request stream stopped.
    919919        // We can however test to see if a location header is present and return based on that.
    920920        if ( isset($processedHeaders['headers']['location']) && 0 !== $args['_redirection'] )
     
    10321032
    10331033        // CURLOPT_TIMEOUT and CURLOPT_CONNECTTIMEOUT expect integers.  Have to use ceil since
    1034         // a value of 0 will allow an ulimited timeout.
     1034        // a value of 0 will allow an unlimited timeout.
    10351035        $timeout = (int) ceil( $r['timeout'] );
    10361036        curl_setopt( $handle, CURLOPT_CONNECTTIMEOUT, $timeout );
     
    16801680
    16811681    /**
    1682      * What enconding the content used when it was compressed to send in the headers.
     1682     * What encoding the content used when it was compressed to send in the headers.
    16831683     *
    16841684     * @since 2.8
Note: See TracChangeset for help on using the changeset viewer.