[wp-trac] [WordPress Trac] #21576: wp_nav_menu: Don't return markup, when no menu item is set

WordPress Trac noreply at wordpress.org
Wed Jul 10 05:14:44 UTC 2013


#21576: wp_nav_menu: Don't return markup, when no menu item is set
-------------------------+---------------------
 Reporter:  obenland     |       Owner:  nacin
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  3.5
Component:  Menus        |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------

Comment (by nacin):

 In [changeset:"24634"]:
 {{{
 #!CommitTicketReference repository="" revision="24634"
 If a nav menu has no items, wait until after the wp_nav_menu_items filter
 before deciding whether to print nothing.

 see [21868] for original commit. see #21576.
 see #24035 for trunk.
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/21576#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list