[wp-trac] [WordPress Trac] #23806: Nav Menu Edit Walker per menu item type, not menu?
WordPress Trac
noreply at wordpress.org
Mon Jan 20 17:23:14 UTC 2014
#23806: Nav Menu Edit Walker per menu item type, not menu?
-------------------------+------------------------------
Reporter: GaryJ | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version:
Severity: normal | Resolution:
Keywords: needs-patch |
-------------------------+------------------------------
Comment (by bendoh):
Replying to [comment:5 bgentry]:
> bendoh, I came across this post as I was thinking about the need to have
some filters for adding fields to the nav menu item editing screens for
the same reason you pointed out: when the only way to add fields is to
make your own Walker_Nave_Menu_Edit, it is impossible for two plugins to
add different fields to the screen.
>
> In the approach you take in your trac ticket, developers need to write
their own functions to save the fields they add, correct?
Yes, this only allows for injection custom markup / form fields, but there
are a variety of ways to save the values of the form fields that may be
injected here and this patch does not attempt to address that in any
automated way.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23806#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list