[wp-trac] [WordPress Trac] #18584: Nav menus need more hooks for extensibility (on admin page & in customizer)

WordPress Trac noreply at wordpress.org
Tue Jan 24 18:27:10 UTC 2017


#18584: Nav menus need more hooks for extensibility (on admin page & in customizer)
--------------------------+-------------------------
 Reporter:  Viper007Bond  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  4.8
Component:  Customize     |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript
--------------------------+-------------------------
Changes (by westonruter):

 * milestone:  Future Release => 4.8


Old description:

> I'm trying to add some additional fields to the nav menu blocks but sadly
> there are no hooks for doing so. Zero.
>
> We should add some and get in a better habit of just doing so when the
> code is written.
>
> My specific suggestions are before the Remove/Cancel links (i.e. for
> adding standard stuff), one above the "original" field, and one after
> those action links (to add more actions).
>
> We need to account for both extending the menus admin page and menus in
> the customizer.

New description:

 I'm trying to add some additional fields to the nav menu blocks but sadly
 there are no hooks for doing so. Zero.

 We should add some and get in a better habit of just doing so when the
 code is written.

 My specific suggestions are before the Remove/Cancel links (i.e. for
 adding standard stuff), one above the "original" field, and one after
 those action links (to add more actions).

 We need to account for both extending the menus admin page and menus in
 the customizer.

 Depends on: #38072

--

Comment:

 Milestoning for 4.8 since nav menu items closely align with the initiative
 on blocks: A nav menu item, widget, and editor content block should all be
 the same underlying thing.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/18584#comment:84>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list