Make WordPress Core


Ignore:
Timestamp:
12/01/2014 01:33:34 AM (12 years ago)
Author:
wonderboymusic
Message:

Improve various @param docs for src/wp-includes/*.

See #30224.

File:
1 edited

Legend:

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

    r30604 r30681  
    300300         * @param string $url URL to Request
    301301         *
    302          * @return string|bool Class name for the first transport that claims to support the request. False if no transport claims to support the request.
     302         * @return string|false Class name for the first transport that claims to support the request. False if no transport claims to support the request.
    303303         */
    304304        public function _get_first_available_transport( $args, $url = null ) {
    … …  
    20812081         * @param int $level Optional, default is 9. Compression level, 9 is highest.
    20822082         * @param string $supports Optional, not used. When implemented it will choose the right compression based on what the server supports.
    2083          * @return string|bool False on failure.
     2083         * @return string|false False on failure.
    20842084         */
    20852085        public static function compress( $raw, $level = 9, $supports = null ) {
    … …  
    21812181         * @since 2.8.0
    21822182         *
     2183         * @param string $url
     2184         * @param array  $args
    21832185         * @return string Types of encoding to accept.
    21842186         */
Note: See TracChangeset for help on using the changeset viewer.