[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
Mon Jun 20 19:49:52 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:"37754"]:
 {{{
 #!CommitTicketReference repository="" revision="37754"
 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.

 Merge of [37748] and [37750] to the 4.5 branch.

 Props ericlewis, neverything, swissspidy.
 Fixes #36590. See #14134.
 }}}

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


More information about the wp-trac mailing list