Opened 15 years ago
Closed 15 years ago
#13696 closed defect (bug) (fixed)
Clean up menu editing / creating
Reported by: | filosofo | Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Menus | Keywords: | has-patch |
Focuses: | Cc: |
Description
Currently, wp_create_nav_menu
is used only in wp_update_nav_menu_object
.
- There's no need to expose a limited menu-creation API when
wp_update_nav_menu_object
handles that already. wp_create_nav_menu
is doubling some of the sanity checks done already inwp_update_nav_menu_object
, so we should simplify the logic.
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
wp_create_nav_menu() is already being used by plugins. I'd rather not take that away now that we are RC.