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

    r41047 r41162  
    2121     *
    2222     * @since 4.4.0
    23      * @access public
    2423     */
    2524    public function register_routes() {
     
    102101     *
    103102     * @since 4.4.0
    104      * @access public
    105103     *
    106104     * @param WP_REST_Request $request Full data about the request.
     
    133131     *
    134132     * @since 4.8.0
    135      * @access public
    136133     *
    137134     * @return true|WP_Error True if the request has read access, WP_Error object otherwise.
     
    150147     *
    151148     * @since 4.8.0
    152      * @access public
    153149     *
    154150     * @see WP_oEmbed::get_html()
Note: See TracChangeset for help on using the changeset viewer.