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

    r39992 r41162  
    1919     *
    2020     * @since 4.4.0
    21      * @access public
    2221     * @var int
    2322     */
     
    2827     *
    2928     * @since 4.4.0
    30      * @access public
    3129     * @var int
    3230     */
     
    3735     *
    3836     * @since 4.4.0
    39      * @access public
    4037     * @var string
    4138     */
     
    4643     *
    4744     * @since 4.4.0
    48      * @access public
    4945     * @var string
    5046     */
     
    5551     *
    5652     * @since 4.4.0
    57      * @access public
    5853     * @var string
    5954     */
     
    6459     *
    6560     * @since 4.4.0
    66      * @access public
    6761     * @var string
    6862     */
     
    7367     *
    7468     * @since 4.4.0
    75      * @access public
    7669     * @var string
    7770     */
     
    8275     *
    8376     * @since 4.4.0
    84      * @access public
    8577     * @var string
    8678     */
     
    9183     *
    9284     * @since 4.4.0
    93      * @access public
    9485     * @var string
    9586     */
     
    10091     *
    10192     * @since 4.4.0
    102      * @access public
    10393     * @var int
    10494     */
     
    10999     *
    110100     * @since 4.4.0
    111      * @access public
    112101     * @var string
    113102     */
     
    118107     *
    119108     * @since 4.4.0
    120      * @access public
    121109     * @var string
    122110     */
     
    127115     *
    128116     * @since 4.4.0
    129      * @access public
    130117     * @var string
    131118     */
     
    136123     *
    137124     * @since 4.4.0
    138      * @access public
    139125     * @var int
    140126     */
     
    145131     *
    146132     * @since 4.4.0
    147      * @access public
    148133     * @var int
    149134     */
     
    154139     *
    155140     * @since 4.4.0
    156      * @access protected
    157141     * @var array
    158142     */
     
    163147     *
    164148     * @since 4.4.0
    165      * @access protected
    166149     * @var bool
    167150     */
     
    172155     *
    173156     * @since 4.4.0
    174      * @access protected
    175157     * @var array
    176158     */
     
    181163     *
    182164     * @since 4.4.0
    183      * @access public
    184165     * @static
    185166     *
     
    218199     *
    219200     * @since 4.4.0
    220      * @access public
    221201     *
    222202     * @param WP_Comment $comment Comment object.
     
    232212     *
    233213     * @since 4.4.0
    234      * @access public
    235214     *
    236215     * @return array Object as array.
     
    244223     *
    245224     * @since 4.4.0
    246      * @access public
    247225     *
    248226     * @param array $args {
     
    319297     *
    320298     * @since 4.4.0
    321      * @access public
    322299     *
    323300     * @param WP_Comment $child Child comment.
     
    331308     *
    332309     * @since 4.4.0
    333      * @access public
    334310     *
    335311     * @param int $child_id ID of the child.
     
    364340     *
    365341     * @since 4.4.0
    366      * @access public
    367342     *
    368343     * @param string $name Property name.
     
    382357     *
    383358     * @since 4.4.0
    384      * @access public
    385359     *
    386360     * @param string $name
Note: See TracChangeset for help on using the changeset viewer.