Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#13006 closed defect (bug) (fixed)

wp_nav_menu() should bail if no menu was found and no fallback function was specified

Reported by: ptahdunbar Owned by: ryan
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Menus Keywords: has-patch
Focuses: Cc:


Patch fixes what's stated in the title.

Attachments (1)

wp_nav_menu_bail.diff (786 bytes) - added by ptahdunbar 8 years ago.

Download all attachments as: .zip

Change History (2)

#1 @nacin
8 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [14415]) Bail when there is neither a menu, or a fallback. props ptahdunbar, fixes #13006.

Note: See TracTickets for help on using tickets.