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

    r37040 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',
     
    6159     *
    6260     * @since 2.8.0
    63      * @access public
    6461     *
    6562     * @param array $instance Current settings.
     
    7774     *
    7875     * @since 2.8.0
    79      * @access public
    8076     *
    8177     * @param array $new_instance New settings for this instance as input by the user via
Note: See TracChangeset for help on using the changeset viewer.