[wp-trac] [WordPress Trac] #38904: Add action hook in class-walker-nav-menu-edit.php

WordPress Trac noreply at wordpress.org
Tue Feb 14 18:29:59 UTC 2017


#38904: Add action hook in class-walker-nav-menu-edit.php
------------------------------------+------------------------------
 Reporter:  timersys                |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Menus                   |     Version:  4.7
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  administration
------------------------------------+------------------------------

Comment (by timersys):

 HI @adamsilverstein , thanks for looking into it. Adding the filter at the
 end of the generated HTML looks ugly and dirty imo.
 I would rather prefer to add filters and hooks everywhere to cover as much
 use cases as possible. Is not what wordpress does anyway :)

 Adding just that hook will make lot of people happier. And I don't mean
 just developers. I found lots of complaints from users because their
 plugins are not compatible between each other because they simply override
 the walker.

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


More information about the wp-trac mailing list