[wp-trac] [WordPress Trac] #14134: Menus item are limited to 16 item and will not save more than that
WordPress Trac
noreply at wordpress.org
Sun Jun 19 12:24:26 UTC 2016
#14134: Menus item are limited to 16 item and will not save more than that
--------------------------+------------------------
Reporter: jaanfx | Owner: ericlewis
Type: defect (bug) | Status: closed
Priority: high | Milestone: 4.5
Component: Menus | Version: 3.0
Severity: major | Resolution: fixed
Keywords: | Focuses:
--------------------------+------------------------
Comment (by swissspidy):
In [changeset:"37748"]:
{{{
#!CommitTicketReference repository="" revision="37748"
Menus: Support nested array variables in POST data when saving menus.
[36510] allowed larger menus to be created in the Edit Menu screen by
JSON-encoding the entire form into a single input field. However, it did
not correctly handle nested arrays.
This introduces a new `_wp_expand_nav_menu_post_data()` helper function to
handle this POST data which uses `array_replace_recursive()` internally.
Since the latter is only available on PHP 5.3+, we add a compatibility
function to ensure PHP 5.2 support.
Props ericlewis, neverything, swissspidy.
Fixes #36590 for trunk. See #14134.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14134#comment:213>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list