Docs: Clarify the summary and add missing parameter notations to the DocBlock for _wp_delete_tax_menu_item()
.
See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@35979 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
72fb826044
commit
6135b8d055
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user