[wp-trac] [WordPress Trac] #28642: wp_get_nav_menu_items retrieving empty array

WordPress Trac noreply at wordpress.org
Mon Jul 17 22:10:33 UTC 2017


#28642: wp_get_nav_menu_items retrieving empty array
--------------------------+------------------------------
 Reporter:  furi3r        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Menus         |     Version:  3.9
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------

Comment (by jesseisrad):

 I CAN reproduce this.

 I'm trying to work with this function in the footer template and it works
 fine on a post page, but not on any taxonomic archive. Returns an empty
 array on those pages.

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


More information about the wp-trac mailing list