WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:40:27 AM (2 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-archives.php

    r40806 r41162  
    2121     *
    2222     * @since 2.8.0
    23      * @access public
    2423     */
    2524    public function __construct() {
     
    3635     *
    3736     * @since 2.8.0
    38      * @access public
    3937     *
    4038     * @param array $args     Display arguments including 'before_title', 'after_title',
     
    126124     *
    127125     * @since 2.8.0
    128      * @access public
    129126     *
    130127     * @param array $new_instance New settings for this instance as input by the user via
     
    147144     *
    148145     * @since 2.8.0
    149      * @access public
    150146     *
    151147     * @param array $instance Current settings.
Note: See TracChangeset for help on using the changeset viewer.