WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:40:27 AM (4 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/rest-api/endpoints/class-wp-rest-taxonomies-controller.php

    r39954 r41162  
    2121     *
    2222     * @since 4.7.0
    23      * @access public
    2423     */
    2524    public function __construct() {
     
    3231     *
    3332     * @since 4.7.0
    34      * @access public
    3533     *
    3634     * @see register_rest_route()
     
    7169     *
    7270     * @since 4.7.0
    73      * @access public
    7471     *
    7572     * @param WP_REST_Request $request Full details about the request.
     
    9794     *
    9895     * @since 4.7.0
    99      * @access public
    10096     *
    10197     * @param WP_REST_Request $request Full details about the request.
     
    134130     *
    135131     * @since 4.7.0
    136      * @access public
    137132     *
    138133     * @param  WP_REST_Request $request Full details about the request.
     
    159154     *
    160155     * @since 4.7.0
    161      * @access public
    162156     *
    163157     * @param WP_REST_Request $request Full details about the request.
     
    177171     *
    178172     * @since 4.7.0
    179      * @access public
    180173     *
    181174     * @param stdClass        $taxonomy Taxonomy data.
     
    231224     *
    232225     * @since 4.7.0
    233      * @access public
    234226     *
    235227     * @return array Item schema data.
     
    307299     *
    308300     * @since 4.7.0
    309      * @access public
    310301     *
    311302     * @return array Collection parameters.
Note: See TracChangeset for help on using the changeset viewer.