[wp-trac] [WordPress Trac] #47983: Menus: Only send non-empty values on menu save on nav-menus.php

WordPress Trac noreply at wordpress.org
Fri Sep 6 15:04:17 UTC 2019


#47983: Menus: Only send non-empty values on menu save on nav-menus.php
----------------------------+------------------------------
 Reporter:  metalandcoffee  |       Owner:  (none)
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Menus           |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------------

Comment (by metalandcoffee):

 Here is some additional information on this issue.

 I have a very extensive primary menu structure that contains 93 menu items
 total. So when all of the properties for each menu item get sent to server
 via the $_POST method, PHP issues the warning mentioned above. I think
 it'd be beneficial in the long run to limit the number of input variables
 sent to the server.

 See: https://www.php.net/manual/en/info.configuration.php#ini.max-input-
 vars

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


More information about the wp-trac mailing list