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-wp-community-events.php

    r40909 r41161  
    1919     * ID for a WordPress user account.
    2020     *
    21      * @access protected
    2221     * @since 4.8.0
    2322     *
     
    2928     * Stores location data for the user.
    3029     *
    31      * @access protected
    3230     * @since 4.8.0
    3331     *
     
    172170     * Builds an array of args to use in an HTTP request to the w.org Events API.
    173171     *
    174      * @access protected
    175172     * @since 4.8.0
    176173     *
     
    230227     * be easily spoofed.
    231228     *
    232      * @access protected
    233229     * @since 4.8.0
    234230     *
     
    282278     *
    283279     * @since 4.8.0
    284      * @access protected
    285280     *
    286281     * @param array $a The first pair, with indexes 'latitude' and 'longitude'.
     
    304299     * which is less prone to errors.
    305300     *
    306      * @access protected
    307301     * @since 4.8.0
    308302     *
     
    325319     * Caches an array of events data from the Events API.
    326320     *
    327      * @access protected
    328321     * @since 4.8.0
    329322     *
     
    367360     * of the user who triggered the cache refresh, rather than their own.
    368361     *
    369      * @access protected
    370362     * @since 4.8.0
    371363     *
     
    396388     * Discards expired events, and reduces the remaining list.
    397389     *
    398      * @access protected
    399390     * @since 4.8.0
    400391     *
     
    437428     * response when called from AJAX handlers and `display_errors` is enabled.
    438429     *
    439      * @access protected
    440430     * @since 4.8.0
    441431     *
Note: See TracChangeset for help on using the changeset viewer.