From de2bd0bf444bbb9391f747debfd1bb2f02b606a5 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 21 Feb 2014 18:34:14 +0000 Subject: [PATCH] Fix reversed return logic in the `wp_nav_menu()` phpdoc. See #27163. Built from https://develop.svn.wordpress.org/trunk@27223 git-svn-id: http://core.svn.wordpress.org/trunk@27080 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/nav-menu-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/nav-menu-template.php b/wp-includes/nav-menu-template.php index b95c8a3d0a..4afe7f75a0 100644 --- a/wp-includes/nav-menu-template.php +++ b/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();