WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:40:27 AM (3 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-locale-switcher.php

    r39330 r41162  
    1818     *
    1919     * @since 4.7.0
    20      * @access private
    2120     * @var string[]
    2221     */
     
    2726     *
    2827     * @since 4.7.0
    29      * @access private
    3028     * @var string
    3129     */
     
    3634     *
    3735     * @since 4.7.0
    38      * @access private
    3936     * @var array An array of language codes (file names without the .mo extension).
    4037     */
     
    185182     *
    186183     * @since 4.7.0
    187      * @access private
    188184     *
    189185     * @global Mo[] $l10n An array of all currently loaded text domains.
     
    215211     *
    216212     * @since 4.7.0
    217      * @access private
    218213     *
    219214     * @global WP_Locale $wp_locale The WordPress date and time locale object.
Note: See TracChangeset for help on using the changeset viewer.