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

WordPress Trac noreply at wordpress.org
Thu Mar 3 05:51:50 UTC 2016


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

Comment (by helgatheviking):

 Just revisiting this.

 >The benefit of a filter is that existing fields can be removed or
 modified, in addition to new fields being added. With an action, you can
 only inject new fields at the end. A filter seems to be more flexible.

 Is it really a good idea to let someone remove the core fields like menu
 title? Or is this a case of if you remove the title you deserve what you
 get? :) I should try out your .diff to see if I can't add my fields via
 the filters, but it'll probably take me a while to get to it (and other
 while to remember who to apply diffs).

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


More information about the wp-trac mailing list