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/rest-api/endpoints/class-wp-rest-terms-controller.php

    r40606 r41162  
    2121     *
    2222     * @since 4.7.0
    23      * @access protected
    2423     * @var string
    2524     */
     
    3029     *
    3130     * @since 4.7.0
    32      * @access protected
    3331     * @var WP_REST_Term_Meta_Fields
    3432     */
     
    3937     *
    4038     * @since 4.7.0
    41      * @access protected
    4239     * @var string
    4340     */
     
    4845     *
    4946     * @since 4.7.0
    50      * @access protected
    5147     * @var int
    5248     */
     
    5753     *
    5854     * @since 4.7.0
    59      * @access public
    6055     *
    6156     * @param string $taxonomy Taxonomy key.
     
    7469     *
    7570     * @since 4.7.0
    76      * @access public
    7771     *
    7872     * @see register_rest_route()
     
    137131     *
    138132     * @since 4.7.0
    139      * @access public
    140133     *
    141134     * @param WP_REST_Request $request Full details about the request.
     
    157150     *
    158151     * @since 4.7.0
    159      * @access public
    160152     *
    161153     * @param WP_REST_Request $request Full details about the request.
     
    325317     *
    326318     * @since 4.7.0
    327      * @access public
    328319     *
    329320     * @param WP_REST_Request $request Full details about the request.
     
    346337     *
    347338     * @since 4.7.0
    348      * @access public
    349339     *
    350340     * @param WP_REST_Request $request Full details about the request.
     
    366356     *
    367357     * @since 4.7.0
    368      * @access public
    369358     *
    370359     * @param WP_REST_Request $request Full details about the request.
     
    389378     *
    390379     * @since 4.7.0
    391      * @access public
    392380     *
    393381     * @param WP_REST_Request $request Full details about the request.
     
    468456     *
    469457     * @since 4.7.0
    470      * @access public
    471458     *
    472459     * @param WP_REST_Request $request Full details about the request.
     
    490477     *
    491478     * @since 4.7.0
    492      * @access public
    493479     *
    494480     * @param WP_REST_Request $request Full details about the request.
     
    555541     *
    556542     * @since 4.7.0
    557      * @access public
    558543     *
    559544     * @param WP_REST_Request $request Full details about the request.
     
    577562     *
    578563     * @since 4.7.0
    579      * @access public
    580564     *
    581565     * @param WP_REST_Request $request Full details about the request.
     
    628612     *
    629613     * @since 4.7.0
    630      * @access public
    631614     *
    632615     * @param WP_REST_Request $request Request object.
     
    681664     *
    682665     * @since 4.7.0
    683      * @access public
    684666     *
    685667     * @param obj             $item    Term object.
     
    756738     *
    757739     * @since 4.7.0
    758      * @access protected
    759740     *
    760741     * @param object $term Term object.
     
    818799     *
    819800     * @since 4.7.0
    820      * @access public
    821801     *
    822802     * @return array Item schema data.
     
    898878     *
    899879     * @since 4.7.0
    900      * @access public
    901880     *
    902881     * @return array Collection parameters.
     
    1007986     *
    1008987     * @since 4.7.0
    1009      * @access protected
    1010988     *
    1011989     * @param string $taxonomy Taxonomy to check.
Note: See TracChangeset for help on using the changeset viewer.