Opened 16 years ago
Closed 16 years ago
#13696 closed defect (bug) (fixed)
Clean up menu editing / creating
| Reported by: | filosofo | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Menus | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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_objecthandles that already. wp_create_nav_menuis 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
wp_create_nav_menu() is already being used by plugins. I'd rather not take that away now that we are RC.