Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#15179 closed defect (bug) (invalid)

show_in_nav_menus attribute on taxonomies is not used properly

Reported by: dvmorris Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0.1
Component: Taxonomy Keywords: show_in_nav_menus
Focuses: Cc:


The code to display custom taxonomy links in the nav menu is on menu.php:88

There is a conditional statement that checks if 'show_ui' is true, but it should be 'show_in_nav_menus' instead.

line 89: if ( !$tax->show_in_nav_menus /* ... */ )

Change History (2)

#1 @dd32
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

I believe you will find that show_in_nav_menus is to toggle the taxonomy being visible within the "Menu" functionality (ie. Appearance -> Menu) for the front-end.

#2 @dvmorris
8 years ago

Ah, I see now. Thanks! Dave

Note: See TracTickets for help on using tickets.