Make WordPress Core


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

    r40806 r41162  
    2121     *
    2222     * @since 2.8.0
    23      * @access public
    2423     */
    2524    public function __construct() {
     
    4140     *
    4241     * @since 2.8.0
    43      * @access public
    4442     */
    4543    public function recent_comments_style() {
     
    6462     *
    6563     * @since 2.8.0
    66      * @access public
    6764     *
    6865     * @param array $args     Display arguments including 'before_title', 'after_title',
     
    131128     *
    132129     * @since 2.8.0
    133      * @access public
    134130     *
    135131     * @param array $new_instance New settings for this instance as input by the user via
     
    149145     *
    150146     * @since 2.8.0
    151      * @access public
    152147     *
    153148     * @param array $instance Current settings.
     
    169164     *
    170165     * @since 2.8.0
    171      * @access public
    172166     *
    173167     * @deprecated 4.4.0 Fragment caching was removed in favor of split queries.
Note: See TracChangeset for help on using the changeset viewer.