WordPress.org

Make WordPress Core

Changeset 47428


Ignore:
Timestamp:
03/04/2020 11:33:14 AM (21 months ago)
Author:
SergeyBiryukov
Message:

Docs: Reorder @throws tags in WP_Customize_Nav_Menu_Setting and WP_Customize_Nav_Menu_Item_Setting for consistency with WP_Customize_Custom_CSS_Setting.

See #49572.

Location:
trunk/src/wp-includes/customize
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php

    r47383 r47428  
    156156     * @since 4.3.0
    157157     *
     158     * @throws Exception If $id is not valid for this setting type.
     159     *
    158160     * @param WP_Customize_Manager $manager Customizer bootstrap instance.
    159161     * @param string               $id      A specific ID of the setting.
    160162     *                                      Can be a theme mod or option name.
    161163     * @param array                $args    Optional. Setting arguments.
    162      *
    163      * @throws Exception If $id is not valid for this setting type.
    164164     */
    165165    public function __construct( WP_Customize_Manager $manager, $id, array $args = array() ) {
  • trunk/src/wp-includes/customize/class-wp-customize-nav-menu-setting.php

    r47383 r47428  
    126126     * @since 4.3.0
    127127     *
     128     * @throws Exception If $id is not valid for this setting type.
     129     *
    128130     * @param WP_Customize_Manager $manager Customizer bootstrap instance.
    129131     * @param string               $id      A specific ID of the setting.
    130132     *                                      Can be a theme mod or option name.
    131133     * @param array                $args    Optional. Setting arguments.
    132      *
    133      * @throws Exception If $id is not valid for this setting type.
    134134     */
    135135    public function __construct( WP_Customize_Manager $manager, $id, array $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.