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
This commit is contained in:
Drew Jaynes 2015-12-16 23:11:25 +00:00
parent 20d779ea8c
commit bc4a65a036
2 changed files with 5 additions and 4 deletions

View File

@ -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 * @since 3.0.0
* @access private * @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 ) { function _wp_delete_tax_menu_item( $object_id = 0, $tt_id, $taxonomy ) {
$object_id = (int) $object_id; $object_id = (int) $object_id;

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.