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/fields/class-wp-rest-term-meta-fields.php

    r39032 r41162  
    2121     *
    2222     * @since 4.7.0
    23      * @access protected
    2423     * @var string
    2524     */
     
    3029     *
    3130     * @since 4.7.0
    32      * @access public
    3331     *
    3432     * @param string $taxonomy Taxonomy to register fields for.
     
    4240     *
    4341     * @since 4.7.0
    44      * @access protected
    4542     *
    4643     * @return string The meta type.
     
    5451     *
    5552     * @since 4.7.0
    56      * @access public
    5753     *
    5854     * @return string The REST field type.
Note: See TracChangeset for help on using the changeset viewer.