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/class.wp-dependencies.php

    r40988 r41162  
    2020     * An array of registered handle objects.
    2121     *
    22      * @access public
    2322     * @since 2.6.8
    2423     * @var array
     
    2928     * An array of queued _WP_Dependency handle objects.
    3029     *
    31      * @access public
    3230     * @since 2.6.8
    3331     * @var array
     
    3836     * An array of _WP_Dependency handle objects to queue.
    3937     *
    40      * @access public
    4138     * @since 2.6.0
    4239     * @var array
     
    4744     * An array of _WP_Dependency handle objects already queued.
    4845     *
    49      * @access public
    5046     * @since 2.6.0
    5147     * @var array
     
    5854     * Arguments are appended to the item query string.
    5955     *
    60      * @access public
    6156     * @since 2.6.0
    6257     * @var array
     
    6762     * An array of handle groups to enqueue.
    6863     *
    69      * @access public
    7064     * @since 2.8.0
    7165     * @var array
     
    7670     * A handle group to enqueue.
    7771     *
    78      * @access public
    7972     * @since 2.8.0
    8073     * @deprecated 4.5.0
     
    8881     * Processes the items passed to it or the queue, and their dependencies.
    8982     *
    90      * @access public
    9183     * @since 2.6.0
    9284     * @since 2.8.0 Added the `$group` parameter.
     
    125117     * Processes a dependency.
    126118     *
    127      * @access public
    128119     * @since 2.6.0
    129120     *
     
    141132     * dependencies into account. Does NOT catch infinite loops.
    142133     *
    143      * @access public
    144134     * @since 2.1.0
    145135     * @since 2.6.0 Moved from `WP_Scripts`.
     
    201191     * Registers the item if no item of that name already exists.
    202192     *
    203      * @access public
    204193     * @since 2.1.0
    205194     * @since 2.6.0 Moved from `WP_Scripts`.
     
    227216     * Adds data to a registered item.
    228217     *
    229      * @access public
    230218     * @since 2.6.0
    231219     *
     
    247235     * Gets data associated with a registered item.
    248236     *
    249      * @access public
    250237     * @since 3.3.0
    251238     *
     
    267254     * Un-register an item or items.
    268255     *
    269      * @access public
    270256     * @since 2.1.0
    271257     * @since 2.6.0 Moved from `WP_Scripts`.
     
    287273     * Note $args is NOT the $args property of items in the $registered array.
    288274     *
    289      * @access public
    290275     * @since 2.1.0
    291276     * @since 2.6.0 Moved from `WP_Scripts`.
     
    310295     * and removes arguments from the class property $args.
    311296     *
    312      * @access public
    313297     * @since 2.1.0
    314298     * @since 2.6.0 Moved from `WP_Scripts`.
     
    355339     * Query list for an item.
    356340     *
    357      * @access public
    358341     * @since 2.1.0
    359342     * @since 2.6.0 Moved from `WP_Scripts`.
     
    392375     * Set item group, unless already in a lower group.
    393376     *
    394      * @access public
    395377     * @since 2.8.0
    396378     *
Note: See TracChangeset for help on using the changeset viewer.