[wp-trac] [WordPress Trac] #38057: 'wp_update_nav_menu' action returns inconsistent number of arguments
WordPress Trac
noreply at wordpress.org
Sun Jun 29 14:06:26 UTC 2025
#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 changes-requested needs- | Focuses:
test-info |
-------------------------------------------------+-------------------------
Changes (by SirLouen):
* keywords: has-patch needs-testing => has-patch changes-requested needs-
test-info
Comment:
This patch needs further work. As @vhiltunen has commented there is
another instance of [https://github.com/SirLouen/wordpress-
develop/blob/trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-menus-
controller.php#L456 this hook here]
@vhiltunen, how can you trigger such error? Can you provide some
reproduction instructions?
I have refreshed the patch in case anyone would like to continue to
provide a solution for this.
cc @keraweb
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38057#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list