Make WordPress Core


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

    r40806 r41162  
    2323     *
    2424     * @since 2.8.0
    25      * @access public
    2625     */
    2726    public function __construct() {
     
    3837     *
    3938     * @since 2.8.0
    40      * @access public
    4139     *
    4240     * @param array $args     Display arguments including 'before_title', 'after_title',
     
    8381     *
    8482     * @since 2.8.0
    85      * @access public
    8683     *
    8784     * @param array $new_instance New settings for this instance as input by the user via
     
    10198     *
    10299     * @since 2.8.0
    103      * @access public
    104100     *
    105101     * @param array $instance Current settings.
Note: See TracChangeset for help on using the changeset viewer.