Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:40:27 AM (9 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-item-setting.php

    r39393 r41162  
    3030     *
    3131     * @since 4.3.0
    32      * @access public
    3332     * @var string
    3433     */
     
    3938     *
    4039     * @since 4.3.0
    41      * @access public
    4240     * @var array
    4341     *
     
    6967     * @since 4.3.0
    7068     * @since 4.5.0 Default changed to 'refresh'
    71      * @access public
    7269     * @var string
    7370     */
     
    8077     *
    8178     * @since 4.3.0
    82      * @access public
    8379     * @var int
    8480     */
     
    8985     *
    9086     * @since 4.3.0
    91      * @access protected
    9287     * @var array
    9388     */
     
    10398     *
    10499     * @since 4.3.0
    105      * @access public
    106100     * @var int
    107101     *
     
    116110     *
    117111     * @since 4.3.0
    118      * @access public
    119112     * @var int
    120113     */
     
    125118     *
    126119     * @since 4.3.0
    127      * @access protected
    128120     * @var bool
    129121     */
     
    139131     *
    140132     * @since 4.3.0
    141      * @access public
    142133     * @var string updated|inserted|deleted|error
    143134     *
     
    151142     *
    152143     * @since 4.3.0
    153      * @access public
    154144     * @var WP_Error
    155145     *
     
    165155     *
    166156     * @since 4.3.0
    167      * @access public
    168157     *
    169158     * @param WP_Customize_Manager $manager Bootstrap Customizer instance.
     
    202191     *
    203192     * @since 4.3.0
    204      * @access public
    205193     *
    206194     * @param int $menu_id       The term ID for the menu.
     
    218206     *
    219207     * @since 4.3.0
    220      * @access public
    221208     *
    222209     * @see wp_setup_nav_menu_item()
     
    275262     *
    276263     * @since 4.7.0
    277      * @access protected
    278264     *
    279265     * @param object $item Nav menu item.
     
    312298     *
    313299     * @since 4.7.0
    314      * @access protected
    315300     *
    316301     * @param object $item Nav menu item.
     
    346331     *
    347332     * @since 4.3.0
    348      * @access protected
    349333     *
    350334     * @see WP_Customize_Nav_Menu_Item_Setting::value()
     
    442426     * @since 4.3.0
    443427     * @since 4.4.0 Added boolean return value.
    444      * @access public
    445428     *
    446429     * @see WP_Customize_Manager::post_value()
     
    481464     *
    482465     * @since 4.3.0
    483      * @access public
    484466     *
    485467     * @see wp_get_nav_menu_items()
     
    555537     *
    556538     * @since 4.3.0
    557      * @access public
    558539     * @static
    559540     *
     
    592573     *
    593574     * @since 4.3.0
    594      * @access public
    595575     *
    596576     * @return WP_Post With wp_setup_nav_menu_item() applied.
     
    660640     *
    661641     * @since 4.3.0
    662      * @access public
    663642     *
    664643     * @param array $menu_item_value The value to sanitize.
     
    744723     *
    745724     * @since 4.3.0
    746      * @access protected
    747725     *
    748726     * @see wp_update_nav_menu_item()
     
    879857     *
    880858     * @since 4.3.0
    881      * @access public
    882859     *
    883860     * @see WP_Customize_Nav_Menu_Item_Setting::update()
Note: See TracChangeset for help on using the changeset viewer.