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/customize/class-wp-customize-nav-menu-setting.php

    r38928 r41162  
    3131     *
    3232     * @since 4.3.0
    33      * @access public
    3433     * @var string
    3534     */
     
    4039     *
    4140     * @since 4.3.0
    42      * @access public
    4341     * @var array
    4442     *
     
    5654     *
    5755     * @since 4.3.0
    58      * @access public
    5956     * @var string
    6057     */
     
    6764     *
    6865     * @since 4.3.0
    69      * @access public
    7066     * @var int
    7167     */
     
    8177     *
    8278     * @since 4.3.0
    83      * @access public
    8479     * @var int
    8580     *
     
    9388     *
    9489     * @since 4.3.0
    95      * @access protected
    9690     * @var bool
    9791     */
     
    107101     *
    108102     * @since 4.3.0
    109      * @access public
    110103     * @var string updated|inserted|deleted|error
    111104     *
     
    119112     *
    120113     * @since 4.3.0
    121      * @access public
    122114     * @var WP_Error
    123115     *
     
    133125     *
    134126     * @since 4.3.0
    135      * @access public
    136127     *
    137128     * @param WP_Customize_Manager $manager Bootstrap Customizer instance.
     
    160151     *
    161152     * @since 4.3.0
    162      * @access public
    163153     *
    164154     * @see wp_get_nav_menu_object()
     
    207197     * @since 4.3.0
    208198     * @since 4.4.0 Added boolean return value
    209      * @access public
    210199     *
    211200     * @see WP_Customize_Manager::post_value()
     
    241230     *
    242231     * @since 4.3.0
    243      * @access public
    244232     *
    245233     * @see wp_get_nav_menus()
     
    301289     *
    302290     * @since 4.3.0
    303      * @access protected
    304291     * @var string
    305292     *
     
    316303     * @since 4.3.0
    317304     * @deprecated 4.7.0 Use wp_list_sort()
    318      * @access protected
    319305     *
    320306     * @param object $menu1
     
    337323     *
    338324     * @since 4.3.0
    339      * @access public
    340325     *
    341326     * @see wp_get_nav_menu_object()
     
    386371     *
    387372     * @since 4.3.0
    388      * @access public
    389373     *
    390374     * @param array $nav_menu_options Nav menu options including auto_add.
     
    413397     *
    414398     * @since 4.3.0
    415      * @access public
    416399     *
    417400     * @param array $value The value to sanitize.
     
    457440     * See {@see 'customize_save_response'}.
    458441     *
    459      * @access protected
    460442     * @since 4.3.0
    461443     * @var array
     
    475457     *
    476458     * @since 4.3.0
    477      * @access protected
    478459     *
    479460     * @see wp_update_nav_menu_object()
     
    598579     *
    599580     * @since 4.3.0
    600      * @access protected
    601581     *
    602582     * @see WP_Customize_Nav_Menu_Setting::filter_nav_menu_options()
     
    628608     *
    629609     * @since 4.3.0
    630      * @access public
    631610     *
    632611     * @see WP_Customize_Nav_Menu_Setting::update()
Note: See TracChangeset for help on using the changeset viewer.