Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#13702 closed defect (bug) (fixed)

Requested nav menu objects array is not filtered

Reported by: filosofo's profile filosofo Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Menus Keywords: has-patch
Focuses: Cc:


It should be, as it's how admin and unspecified wp_nav_menu get their menu objects.

Patch adds a simple filter that will allow plugin and theme developers to control access to menus, for example.

cf. #13694

Attachments (1)

filter-get-nav-menus.13702.diff (506 bytes) - added by filosofo 14 years ago.

Download all attachments as: .zip

Change History (2)

#1 @ryan
14 years ago

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

(In [15112]) wp_get_nav_menus filter. Props filosofo. fixes #13702

Note: See TracTickets for help on using tickets.