[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
Wed Feb 10 03:31:34 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:  accepted
 Priority:  high                     |   Milestone:  4.5
Component:  Menus                    |     Version:  3.0
 Severity:  major                    |  Resolution:
 Keywords:  needs-testing has-patch  |     Focuses:
-------------------------------------+------------------------

Comment (by ericlewis):

 In [changeset:"36506"]:
 {{{
 #!CommitTicketReference repository="" revision="36506"
 Menus: Allow larger menus to be created in the Edit Menu screen.

 In the Edit Menu screen, each menu item creates 11 form input elements. In
 menus with more than 71 menu items, often items after the 71st weren't
 saved. This was because PHP's runtime configuration `max_input_vars`
 default value is 1000. Large menus exceed this, so PHP didn't populate the
 `$_POST` superglobal for the latter menu items.

 The entire form is now JSON-encoded into a single input which populates
 `$_POST` manually on form submission.

 See #14134.
 }}}

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


More information about the wp-trac mailing list