X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/4feeb71a9d812a9ae371c28a3d8b442a4394ded7..607b7e02d77e7326161e8ec15639052d2040f745:/wp-includes/customize/class-wp-customize-nav-menu-setting.php?ds=inline diff --git a/wp-includes/customize/class-wp-customize-nav-menu-setting.php b/wp-includes/customize/class-wp-customize-nav-menu-setting.php index 8d6436c6..0275c79a 100644 --- a/wp-includes/customize/class-wp-customize-nav-menu-setting.php +++ b/wp-includes/customize/class-wp-customize-nav-menu-setting.php @@ -74,7 +74,7 @@ class WP_Customize_Nav_Menu_Setting extends WP_Customize_Setting { /** * Previous (placeholder) term ID used before creating a new menu. * - * This value will be exported to JS via the customize_save_response filter + * This value will be exported to JS via the {@see 'customize_save_response'} filter * so that JavaScript can update the settings to refer to the newly-assigned * term ID. This value is always negative to indicate it does not refer to * a real term. @@ -100,8 +100,10 @@ class WP_Customize_Nav_Menu_Setting extends WP_Customize_Setting { /** * Status for calling the update method, used in customize_save_response filter. * - * When status is inserted, the placeholder term ID is stored in $previous_term_id. - * When status is error, the error is stored in $update_error. + * See {@see 'customize_save_response'}. + * + * When status is inserted, the placeholder term ID is stored in `$previous_term_id`. + * When status is error, the error is stored in `$update_error`. * * @since 4.3.0 * @access public @@ -235,7 +237,7 @@ class WP_Customize_Nav_Menu_Setting extends WP_Customize_Setting { } /** - * Filter the wp_get_nav_menus() result to ensure the inserted menu object is included, and the deleted one is removed. + * Filters the wp_get_nav_menus() result to ensure the inserted menu object is included, and the deleted one is removed. * * @since 4.3.0 * @access public @@ -324,7 +326,7 @@ class WP_Customize_Nav_Menu_Setting extends WP_Customize_Setting { } /** - * Filter the wp_get_nav_menu_object() result to supply the previewed menu object. + * Filters the wp_get_nav_menu_object() result to supply the previewed menu object. * * Requesting a nav_menu object by anything but ID is not supported. * @@ -375,7 +377,7 @@ class WP_Customize_Nav_Menu_Setting extends WP_Customize_Setting { } /** - * Filter the nav_menu_options option to include this menu's auto_add preference. + * Filters the nav_menu_options option to include this menu's auto_add preference. * * @since 4.3.0 * @access public @@ -447,6 +449,8 @@ class WP_Customize_Nav_Menu_Setting extends WP_Customize_Setting { /** * Storage for data to be sent back to client in customize_save_response filter. * + * See {@see 'customize_save_response'}. + * * @access protected * @since 4.3.0 * @var array @@ -459,7 +463,7 @@ class WP_Customize_Nav_Menu_Setting extends WP_Customize_Setting { * Create/update the nav_menu term for this setting. * * Any created menus will have their assigned term IDs exported to the client - * via the customize_save_response filter. Likewise, any errors will be exported + * via the {@see 'customize_save_response'} filter. Likewise, any errors will be exported * to the client via the customize_save_response() filter. * * To delete a menu, the client can send false as the value.