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-wp-http-curl.php

    r37492 r41162  
    2323     *
    2424     * @since 3.2.0
    25      * @access private
    2625     * @var string
    2726     */
     
    3231     *
    3332     * @since 3.6.0
    34      * @access private
    3533     * @var string
    3634     */
     
    4139     *
    4240     * @since 3.6.0
    43      * @access private
    4441     * @var int
    4542     */
     
    5047     *
    5148     * @since 3.6.0
    52      * @access private
    5349     * @var resource
    5450     */
     
    5955     *
    6056     * @since 4.1.0
    61      * @access private
    6257     * @var int
    6358     */
     
    6762     * Send a HTTP request to a URI using cURL extension.
    6863     *
    69      * @access public
    7064     * @since 2.7.0
    7165     *
     
    305299     *
    306300     * @since 3.2.0
    307      * @access private
    308301     *
    309302     * @param resource $handle  cURL handle.
     
    324317     *
    325318     * @since 3.6.0
    326      * @access private
    327319     *
    328320     * @param resource $handle  cURL handle.
Note: See TracChangeset for help on using the changeset viewer.