Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:39:34 AM (7 years ago)
Author:
DrewAPicture
Message:

Docs: Remove @access notations from method DocBlocks in wp-admin/* 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-admin/includes/class-core-upgrader.php

    r38014 r41161  
    2525     *
    2626     * @since 2.8.0
    27      * @access public
    2827     */
    2928    public function upgrade_strings() {
     
    4342     *
    4443     * @since 2.8.0
    45      * @access public
    4644     *
    4745     * @global WP_Filesystem_Base $wp_filesystem Subclass
     
    229227     *
    230228     * @since 3.7.0
    231      * @access public
    232229     *
    233230     * @static
     
    338335     *
    339336     * @since 3.7.0
    340      * @access public
    341337     *
    342338     * @global string $wp_version
Note: See TracChangeset for help on using the changeset viewer.