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

WordPress Trac noreply at wordpress.org
Thu Feb 9 13:31:46 UTC 2023


#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 vhiltunen):

 Found this still while investigating why two params caused a fatal error.
 There's another       do_action( 'wp_update_nav_menu', $menu_id ) in file
 wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php.

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


More information about the wp-trac mailing list