[wp-trac] [WordPress Trac] #27280: Apply filter for Walker_Nav_Menu_Edit start_el output

WordPress Trac noreply at wordpress.org
Tue Dec 22 19:18:55 UTC 2015


#27280: Apply filter for  Walker_Nav_Menu_Edit start_el output
-------------------------+-----------------------------
 Reporter:  kaptinlin    |       Owner:  johnbillion
     Type:  enhancement  |      Status:  reviewing
 Priority:  normal       |   Milestone:  Future Release
Component:  Menus        |     Version:  2.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  administration
-------------------------+-----------------------------

Comment (by entr):

 I don't know how useful a filter would be in this situation. Filtering an
 already generated html is not ideal. A set of actions on the other hand
 will be really handy. I suppose most of the developers would like just to
 introduce custom options in the `.menu-item-settings` section. We could go
 even further and refactor how `.menu-item-settings` is generated using
 just a single action for the whole section and prioritized bindings for
 every `.description` in it. Then adding custom menu settings or removing
 built-in ones would be a breeze.

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


More information about the wp-trac mailing list