Make WordPress Core

Opened 15 years ago

Closed 15 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's profile ptahdunbar Owned by: ryan's profile ryan
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Menus Keywords: has-patch
Focuses: Cc:

Description

Patch fixes what's stated in the title.

Attachments (1)

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

Download all attachments as: .zip

Change History (2)

#1 @nacin
15 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.