[wp-trac] [WordPress Trac] #32631: Prevent wp_get_nav_menu_items filter from not applying if there are no menu items

WordPress Trac noreply at wordpress.org
Sat Jun 13 14:37:27 UTC 2015


#32631: Prevent wp_get_nav_menu_items filter from not applying if there are no menu
items
-------------------------+----------------------
 Reporter:  westonruter  |       Owner:  ocean90
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.3
Component:  Menus        |     Version:  3.0
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+----------------------
Changes (by ocean90):

 * owner:   => ocean90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"32748"]:
 {{{
 #!CommitTicketReference repository="" revision="32748"
 Nav menus: Apply the `wp_get_nav_menu_items` filter also on an empty list
 of menu items.

 props westonruter.
 fixes #32631.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32631#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list