Fix the parameter description syntax in the hook docs for the wp_get_nav_menu_object
filter, added in 4.3.
See #32891. git-svn-id: https://develop.svn.wordpress.org/trunk@33232 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
67698ae788
commit
8dee1379bd
@ -38,8 +38,8 @@ function wp_get_nav_menu_object( $menu ) {
|
|||||||
*
|
*
|
||||||
* @since 4.3.0
|
* @since 4.3.0
|
||||||
*
|
*
|
||||||
* @param object|false $menu_obj Term from nav_menu taxonomy, or false if nothing had been found.
|
* @param object|false $menu_obj Term from nav_menu taxonomy, or false if nothing had been found.
|
||||||
* @param string $menu The menu ID, slug, or name passed to wp_get_nav_menu_object().
|
* @param string $menu The menu ID, slug, or name passed to wp_get_nav_menu_object().
|
||||||
*/
|
*/
|
||||||
return apply_filters( 'wp_get_nav_menu_object', $menu_obj, $menu );
|
return apply_filters( 'wp_get_nav_menu_object', $menu_obj, $menu );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user