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

WordPress Trac noreply at wordpress.org
Tue Jul 18 03:19:57 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):

 apologies, my issue and maybe that of the op is related to this:
 https://wordpress.org/support/topic/wp-nav-menu-dissapears-in-category-
 pages-1/

 basically there's a pre_get_posts somewhere that needs to have
 'nav_menu_item' post-type added to it.

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


More information about the wp-trac mailing list