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/widgets/class-wp-widget-calendar.php

    r37040 r41162  
    2222     *
    2323     * @static
    24      * @access private
    2524     * @var int
    2625     */
     
    3130     *
    3231     * @since 2.8.0
    33      * @access public
    3432     */
    3533    public function __construct() {
     
    4644     *
    4745     * @since 2.8.0
    48      * @access public
    4946     *
    5047     * @param array $args     Display arguments including 'before_title', 'after_title',
     
    7673     *
    7774     * @since 2.8.0
    78      * @access public
    7975     *
    8076     * @param array $new_instance New settings for this instance as input by the user via
     
    9490     *
    9591     * @since 2.8.0
    96      * @access public
    9792     *
    9893     * @param array $instance Current settings.
Note: See TracChangeset for help on using the changeset viewer.