Opened 15 years ago
Closed 15 years ago
#13342 closed defect (bug) (fixed)
Allow Custom Menu Edit Markup
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Menus | Keywords: | has-patch |
Focuses: | Cc: |
Description
Menus need a way for plugin authors to customize their edit markup.
For example, with a plugin I want to create a menu option that changes descendant menu items automatically based on context. Currently, there is no way to alter the existing menu edit page to present my plugin's UI.
This patch allows plugin authors to filter the Walker class which handles the admin menu edit markup, so the markup can differ for each menu.
Attachments (1)
Change History (5)
#2
follow-up:
↓ 3
@
15 years ago
Don't think we need the string message in WP_Error, but looks sane to me.
Note: See
TracTickets for help on using
tickets.
I also corrected the documentation. (Proximate in the file, but unrelated).