Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PHP imposes a limit on the size of an array to 1000 rows by default. Short of altering php.ini, selecting >1000 rows in the files list means saves aren't committed. To bypass this, the plugin now: a) intercepts the submission process and serializes the form content b) removes all input fields and adds this serialized data as the only field c) submits the new form d) recontructs the $_POST array so the plugin can continue as if it had received a full, regular payload The only thing to watch now is that the max post payload (and/or suhosin equivalent) isn't exceeded. Hat tip: https://stackoverflow.com/questions/30830447/workaround-for-max-input-vars-limit
- Loading branch information
Showing
1 changed file
with
46 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters