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

WordPress Trac noreply at wordpress.org
Tue Nov 22 12:28:41 UTC 2016


#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:  trunk
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 The class-walker-nav-menu-edit.php is lack for a simple action hook that
 let authors add their own fields to the admin menu.
 In the last week I found 4 different users complaining their
 plugins/themes are not compatible ( Ubermenu, Geotargeting Pro, Salient
 theme and another theme I can't remember) because every of them are
 replacing the whole walker.
 The whole menu ecosystem could simple work by adding a hook ( patch added
 ) and makes totally sense.

 We already have filters/actions  for settings wp_setup_nav_menu_item ,
 wp_update_nav_menu_item so I don't see a reason of why not having a hook
 to add the gui of this fields without modifying the whole walker.

 Related to https://core.trac.wordpress.org/ticket/18584 but could solve
 lot of issues until that ticket from 5 years got solved and merged.

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


More information about the wp-trac mailing list