From 45cbb9148a5e8df74a74b8a7053187add314c1c2 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 21 Feb 2014 18:33:39 +0000 Subject: [PATCH] Fix reversed return logic in the `wp_nav_menu()` phpdoc. See #27163. git-svn-id: https://develop.svn.wordpress.org/trunk@27223 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/nav-menu-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/nav-menu-template.php b/src/wp-includes/nav-menu-template.php index b95c8a3d0a..4afe7f75a0 100644 --- a/src/wp-includes/nav-menu-template.php +++ b/src/wp-includes/nav-menu-template.php @@ -224,7 +224,7 @@ class Walker_Nav_Menu extends Walker { * @type string $items_wrap How the list items should be wrapped. Default is a ul with an id and class. * Uses printf() format with numbered placeholders. * } - * @return mixed Menu output if $echo is true, false if there are no items or no menu was found. + * @return mixed Menu output if $echo is false, false if there are no items or no menu was found. */ function wp_nav_menu( $args = array() ) { static $menu_id_slugs = array();