From a3dda7e71671855d9675f214262e18d7590662bc Mon Sep 17 00:00:00 2001 From: Eric Andrew Lewis Date: Sun, 17 Jan 2016 01:42:16 +0000 Subject: [PATCH] Docs: Nav menu location functions relate to nav menu locations, not nav menus. Fixes #35471. git-svn-id: https://develop.svn.wordpress.org/trunk@36330 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/nav-menu.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/nav-menu.php b/src/wp-includes/nav-menu.php index 450938991f..f1552fd6d0 100644 --- a/src/wp-includes/nav-menu.php +++ b/src/wp-includes/nav-menu.php @@ -77,7 +77,7 @@ function is_nav_menu( $menu ) { } /** - * Register navigation menus for a theme. + * Register navigation menu locations for a theme. * * @since 3.0.0 * @@ -94,7 +94,7 @@ function register_nav_menus( $locations = array() ) { } /** - * Unregisters a navigation menu for a theme. + * Unregisters a navigation menu location for a theme. * * @global array $_wp_registered_nav_menus * @@ -115,7 +115,7 @@ function unregister_nav_menu( $location ) { } /** - * Register a navigation menu for a theme. + * Register a navigation menu location for a theme. * * @since 3.0.0 * @@ -126,7 +126,7 @@ function register_nav_menu( $location, $description ) { register_nav_menus( array( $location => $description ) ); } /** - * Returns an array of all registered navigation menus in a theme + * Returns all registered navigation menu locations in a theme. * * @since 3.0.0 *