From bc4a65a03693549c52e6dced370bafc59d6fa981 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 16 Dec 2015 23:11:25 +0000 Subject: [PATCH] Docs: Clarify the summary and add missing parameter notations to the DocBlock for `_wp_delete_tax_menu_item()`. See #32246. Built from https://develop.svn.wordpress.org/trunk@35979 git-svn-id: http://core.svn.wordpress.org/trunk@35944 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/nav-menu.php | 7 ++++--- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/wp-includes/nav-menu.php b/wp-includes/nav-menu.php index 91a102a880..0ea3ada088 100644 --- a/wp-includes/nav-menu.php +++ b/wp-includes/nav-menu.php @@ -928,13 +928,14 @@ function _wp_delete_post_menu_item( $object_id = 0 ) { } /** - * Callback for handling a menu item when its original object is deleted. + * Serves as a callback for handling a menu item when its original object is deleted. * * @since 3.0.0 * @access private * - * @param int $object_id The ID of the original object being trashed. - * + * @param int $object_id Optional. The ID of the original object being trashed. Default 0. + * @param int $tt_id Term taxonomy ID. Unused. + * @param string $taxonomy Taxonomy slug. */ function _wp_delete_tax_menu_item( $object_id = 0, $tt_id, $taxonomy ) { $object_id = (int) $object_id; diff --git a/wp-includes/version.php b/wp-includes/version.php index fd1d8fc626..9adfe59e92 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-35978'; +$wp_version = '4.5-alpha-35979'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.