[wp-trac] [WordPress Trac] #36590: POST['nav-menu-data'] breaks other POST values
WordPress Trac
noreply at wordpress.org
Sat Apr 23 08:46:30 UTC 2016
#36590: POST['nav-menu-data'] breaks other POST values
-------------------------------------+-------------------------------------
Reporter: Unyson | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5.2
Component: Menus | Version: 4.5
Severity: normal | Resolution:
Keywords: has-unit-tests has- | Focuses: javascript,
patch needs-refresh | administration
-------------------------------------+-------------------------------------
Changes (by swissspidy):
* keywords: has-patch has-unit-tests => has-unit-tests has-patch needs-
refresh
Comment:
Thanks for your input, @dd32!
In that case, we should put these 2 functions in `wp-admin/nav-menus.php`
for 4.5.2, and `wp-admin/includes/nav-menu.php` for trunk. Of course a
solution without the need for `_array_replace_recursive()` would be great,
too.
Otherwise, should we perhaps just use `if ( ! function_exists(
'array_replace_recursive' ) ) { function array_replace_recursive … }` ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36590#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list