mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 14:35:07 +00:00
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
This commit is contained in:
parent
44696a60dc
commit
de2bd0bf44
@ -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…
x
Reference in New Issue
Block a user