From 2c0a330fbab20b8b677a6f7a13a7c9f15fd08330 Mon Sep 17 00:00:00 2001 From: audrasjb <audrasjb@git.wordpress.org> Date: Mon, 25 Apr 2022 09:32:09 +0000 Subject: [PATCH] Docs: Use third-person singular verbs for function descriptions in `wp-includes/nav-menu.php`, as per docs standards. See #54729. Built from https://develop.svn.wordpress.org/trunk@53252 git-svn-id: http://core.svn.wordpress.org/trunk@52841 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/nav-menu.php | 16 ++++++++-------- wp-includes/version.php | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/wp-includes/nav-menu.php b/wp-includes/nav-menu.php index dfff993517..24a7fc66ef 100644 --- a/wp-includes/nav-menu.php +++ b/wp-includes/nav-menu.php @@ -50,7 +50,7 @@ function wp_get_nav_menu_object( $menu ) { } /** - * Check if the given ID is a navigation menu. + * Determines whether the given ID is a navigation menu. * * Returns true if it is; false otherwise. * @@ -255,7 +255,7 @@ function wp_create_nav_menu( $menu_name ) { } /** - * Delete a Navigation Menu. + * Deletes a navigation menu. * * @since 3.0.0 * @@ -302,7 +302,7 @@ function wp_delete_nav_menu( $menu ) { } /** - * Save the properties of a menu or create a new menu with those properties. + * Saves the properties of a menu or create a new menu with those properties. * * Note that `$menu_data` is expected to be pre-slashed. * @@ -404,7 +404,7 @@ function wp_update_nav_menu_object( $menu_id = 0, $menu_data = array() ) { } /** - * Save the properties of a menu item or create a new one. + * Saves the properties of a menu item or create a new one. * * The menu-item-title, menu-item-description and menu-item-attr-title are expected * to be pre-slashed since they are passed directly to APIs that expect slashed data. @@ -641,7 +641,7 @@ function wp_get_nav_menus( $args = array() ) { } /** - * Return if a menu item is valid. + * Determines whether a menu item is valid. * * @link https://core.trac.wordpress.org/ticket/13958 * @@ -988,7 +988,7 @@ function wp_setup_nav_menu_item( $menu_item ) { } /** - * Get the menu items associated with a particular object. + * Returns the menu items associated with a particular object. * * @since 3.0.0 * @@ -1120,7 +1120,7 @@ function _wp_auto_add_pages_to_menu( $new_status, $old_status, $post ) { } /** - * Delete auto-draft posts associated with the supplied changeset. + * Deletes auto-draft posts associated with the supplied changeset. * * @since 4.8.0 * @access private @@ -1154,7 +1154,7 @@ function _wp_delete_customize_changeset_dependent_auto_drafts( $post_id ) { } /** - * Handle menu config after theme change. + * Handles menu config after theme change. * * @access private * @since 4.9.0 diff --git a/wp-includes/version.php b/wp-includes/version.php index 3a2b6cec2d..98feac0eac 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-beta2-53251'; +$wp_version = '6.0-beta2-53252'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.