Opened 3 years ago
Last modified 2 years ago
#14439 new defect (bug)
Unable to get a post associated menu items for a specific menu
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Menus | Version: | 3.1 |
| Severity: | major | Keywords: | has-patch |
| Cc: |
Description
Hello,
The actual wp_get_associated_nav_menu_items function works well but gets menu items associated with an object from ANY menu. So a parameter needs to be added to specify a specific menu to get menu items associated with an object from a specific menu.
Patch is attached. The use of get_term() is needed because of the bug #14438
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Patch to solve the bug