[wp-trac] [WordPress Trac] #38057: 'wp_update_nav_menu' action returns inconsistent number of arguments

WordPress Trac noreply at wordpress.org
Wed Sep 27 19:08:44 UTC 2017


#38057: 'wp_update_nav_menu' action returns inconsistent number of arguments
-------------------------------------+-----------------------------
 Reporter:  barryceelen              |       Owner:  johnbillion
     Type:  enhancement              |      Status:  reviewing
 Priority:  normal                   |   Milestone:  Future Release
Component:  Menus                    |     Version:  4.6
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------------

Comment (by keraweb):

 @johnbillion Wow this is a while ago.
 From what I see the attribute keys were inconsistent at two locations
 where the same filter is used.

 This fix makes it so that both locations where the filter is used will
 take the same array keys while maintaining backwards compatibility with
 the original situation.

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


More information about the wp-trac mailing list