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
This commit is contained in:
parent
2a926fe16b
commit
45cbb9148a
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue