Docs: Update several function DocBlock summaries in wp-includes/nav-menu.php to use third-person singular verbs.
Also removes some unnecessary capitalizations. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@36496 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6172a88bad
commit
3a0050346b
@ -77,7 +77,7 @@ function is_nav_menu( $menu ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Register navigation menu locations for a theme.
|
* Registers navigation menu locations for a theme.
|
||||||
*
|
*
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
*
|
*
|
||||||
@ -115,7 +115,7 @@ function unregister_nav_menu( $location ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Register a navigation menu location for a theme.
|
* Registers a navigation menu location for a theme.
|
||||||
*
|
*
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
*
|
*
|
||||||
@ -154,7 +154,7 @@ function get_nav_menu_locations() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether a registered nav menu location has a menu assigned to it.
|
* Determines whether a registered nav menu location has a menu assigned to it.
|
||||||
*
|
*
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
*
|
*
|
||||||
@ -182,7 +182,7 @@ function has_nav_menu( $location ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determine whether the given ID is a nav menu item.
|
* Determines whether the given ID is a nav menu item.
|
||||||
*
|
*
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
*
|
*
|
||||||
@ -194,7 +194,7 @@ function is_nav_menu_item( $menu_item_id = 0 ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a Navigation Menu.
|
* Creates a navigation menu.
|
||||||
*
|
*
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user