Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:40:27 AM (7 years ago)
Author:
DrewAPicture
Message:

Docs: Remove @access notations from method DocBlocks in wp-includes/* classes.

Prior to about 2013, many class methods lacked even access modifiers which made the @access notations that much more useful. Now that we've gotten to a point where the codebase is more mature from a maintenance perspective and we can finally remove these notations. Notable exceptions to this change include standalone functions notated as private as well as some classes still considered to represent "private" APIs.

See #41452.

File:
1 edited

Legend:

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

    r41105 r41162  
    9999     * are the HTTP and HTTPS protocols.
    100100     *
    101      * @access public
    102101     * @since 2.7.0
    103102     *
     
    429428     *
    430429     * @since 4.6.0
    431      * @access public
    432430     * @static
    433431     *
     
    457455     *
    458456     * @since 4.6.0
    459      * @access public
    460457     * @static
    461458     *
     
    490487     *
    491488     * @since 3.2.0
    492      * @access public
    493489     *
    494490     * @param array $args Request arguments
     
    540536     *
    541537     * @static
    542      * @access private
    543538     *
    544539     * @param string $url URL to Request
     
    582577     * Used for sending data that is expected to be in the body.
    583578     *
    584      * @access public
    585579     * @since 2.7.0
    586580     *
     
    600594     * Used for sending data that is expected to be in the body.
    601595     *
    602      * @access public
    603596     * @since 2.7.0
    604597     *
     
    618611     * Used for sending data that is expected to be in the body.
    619612     *
    620      * @access public
    621613     * @since 2.7.0
    622614     *
     
    634626     * Parses the responses and splits the parts into headers and body.
    635627     *
    636      * @access public
    637628     * @static
    638629     * @since 2.7.0
     
    653644     * headers as the values. No headers must be passed that were already processed.
    654645     *
    655      * @access public
    656646     * @static
    657647     * @since 2.7.0
     
    731721     * Edits the array by reference.
    732722     *
    733      * @access public
    734723     * @since 2.8.0
    735724     * @static
     
    762751     * @link https://tools.ietf.org/html/rfc2616#section-19.4.6 Process for chunked decoding.
    763752     *
    764      * @access public
    765753     * @since 2.7.0
    766754     * @static
     
    812800     *
    813801     * @since 2.8.0
    814      * @access public
    815802     * @link https://core.trac.wordpress.org/ticket/8927 Allow preventing external requests.
    816803     * @link https://core.trac.wordpress.org/ticket/14636 Allow wildcard domains in WP_ACCESSIBLE_HOSTS
     
    872859     * Used as a wrapper for PHP's parse_url() function that handles edgecases in < PHP 5.4.7.
    873860     *
    874      * @access protected
    875861     * @deprecated 4.4.0 Use wp_parse_url()
    876862     * @see wp_parse_url()
     
    893879     *
    894880     * @static
    895      * @access public
    896881     *
    897882     * @param string $maybe_relative_path The URL which might be relative
     
    964949     *
    965950     * @since 3.7.0
    966      * @access public
    967951     * @static
    968952     *
     
    10211005     *
    10221006     * @since 3.7.0
    1023      * @access public
    10241007     * @static
    10251008     *
Note: See TracChangeset for help on using the changeset viewer.