From 81fb19c7cf739da69cd78eafd2abc2ef01edc259 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Mon, 14 Nov 2022 14:23:00 +0000 Subject: [PATCH] Docs: Typo correction in `get_registered_nav_menus()` docblock. Props nithins53. Fixes #57101. See #56792. git-svn-id: https://develop.svn.wordpress.org/trunk@54835 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/nav-menu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/nav-menu.php b/src/wp-includes/nav-menu.php index 8df3cd2cc8..3ef281f643 100644 --- a/src/wp-includes/nav-menu.php +++ b/src/wp-includes/nav-menu.php @@ -143,7 +143,7 @@ function register_nav_menu( $location, $description ) { * * @global array $_wp_registered_nav_menus * - * @return string[] Associative array of egistered navigation menu descriptions keyed + * @return string[] Associative array of registered navigation menu descriptions keyed * by their location. If none are registered, an empty array. */ function get_registered_nav_menus() {