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-role.php

    r37492 r41162  
    1818     *
    1919     * @since 2.0.0
    20      * @access public
    2120     * @var string
    2221     */
     
    2726     *
    2827     * @since 2.0.0
    29      * @access public
    3028     * @var array
    3129     */
     
    3937     *
    4038     * @since 2.0.0
    41      * @access public
    4239     *
    4340     * @param string $role Role name.
     
    5350     *
    5451     * @since 2.0.0
    55      * @access public
    5652     *
    5753     * @param string $cap Capability name.
     
    7268     *
    7369     * @since 2.0.0
    74      * @access public
    7570     *
    7671     * @param string $cap Capability name.
     
    9085     *
    9186     * @since 2.0.0
    92      * @access public
    9387     *
    9488     * @param string $cap Capability name.
Note: See TracChangeset for help on using the changeset viewer.