[wp-trac] [WordPress Trac] #14134: Menus item are limited to 16 item and will not save more than that

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 21 11:31:22 UTC 2012


#14134: Menus item are limited to 16 item and will not save more than that
--------------------------+-----------------------------
 Reporter:  jaanfx        |       Owner:  filosofo
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  high          |   Milestone:  Future Release
Component:  Menus         |     Version:  3.0
 Severity:  major         |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------------
Changes (by ianboo):

 * cc: ianboo (added)


Comment:

 We ran into this issue just last week and tried to fix it since then. The
 newest PHP versions seem to have the 1000 variable limit as default?!
 Thereby limiting any menu to less than 84 items, since every item has 12
 input variables.

 Furthermore several timeouts can and will be reached if one increases the
 max_input_vars, on our server not more than 250 items can reside in a
 menu. In our case we ran into the timeout between Apache and mod_fcgi,
 which is not that easy to find out. Not to speak of timeouts in PHP, which
 there a quite a few for posting, processing and so on. Increasing these is
 a race to the top, but remember: they exist for security concerns.

 Solutions are decreasing security in increasing timeouts or increasing the
 complexity of the setup when trying to narrow these timeout to just wp-
 admin, as some of them cannot be set in the context of a script.

 Conclusion: We should work on the performance of this component.

 If anyone has a good idea, I would try to provide a patch, although I
 never done anything like that before. But I guess we will need it in the
 near future...

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14134#comment:67>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list