Title: WP Max Submit Protect
Author: Jason Judge
Published: <strong>11 Tháng 1, 2014</strong>
Last modified: 30 Tháng 7, 2015

---

Tìm kiếm plugin

![](https://ps.w.org/wp-max-submit-protect/assets/banner-772x250.png?rev=1196971)

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://ps.w.org/wp-max-submit-protect/assets/icon-256x256.png?rev=1197427)

# WP Max Submit Protect

 Bởi [Jason Judge](https://profiles.wordpress.org/judgej/)

[Tải về](https://downloads.wordpress.org/plugin/wp-max-submit-protect.1.1.2.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/wp-max-submit-protect/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/wp-max-submit-protect/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/wp-max-submit-protect/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/wp-max-submit-protect/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/wp-max-submit-protect/)

## Mô tả

Some appications, such as ecommerce sites, can have administration forms that submit
well over a thousand
 parameters. PHP, by default, is set to accept only one thousand
parameters and so some of the submitted data can get lost.

Most applications don’t check whether they received everything, and so data can 
get broken easily and silently.
 A WooCommerce product with 40 variations can have
over 1300 submitted form items, and when saving the product you have no idea that
much of that data is being discarded.

Luckily [the maximum number of accepted parameters can be changed in php.ini](http://docs.woothemes.com/document/problems-with-large-amounts-of-data-not-saving-variations-rates-etc/)

The problem is, many site owners have no idea this needs to be done until it is 
too late and their application, for example their WooCommerce store, has lost half
its product variations.

If using php.ini on your site, the file needs to be in the /wp-admin directory as
that is where the admin forms are submitted to.

To protect yourself and make sure the server limit does not catch
 you unawares,
install this plugin and let it run in the background. Each time you try to submit
a form in the admin pages (e.g. updating a WooCommerce product with lots of variatrions)
this plugin will check that the number of form parameters you are about to submit
does not exceed the server limit. If it does, then it will inform you and give you
the opportunity to postpone the submit while you increase the server settings. The
link above describes how to set the limits on the server. More details in the FQAs.

This plugin has been tested against PHP5.4 but is written to be compatible with 
PHP5.3. The project repository is here:

[https://github.com/academe/wp-max-submit-protect](https://github.com/academe/wp-max-submit-protect)

Note: turning on the Gravity Forms’ “”No-Conflict Mode” will disable this plugin.
You may have reasons for using that setting, but it will disable most other plugins,
some of which may be security-related.

Please let me know how this plugin works for you, whether you like it, and how it
can be improved.

## Ảnh màn hình

 * [[
 * An example of the message that appears if you try to submit more POST parameters
   than the server is able to accept.

## Cài đặt

Upload wp-max-submit-protect/ to the `/wp-content/plugins/` directory or wp-max-
submit-protect-x.y.z.zip through the “Add Plugins” administration page,
 or install
from wordpress.org by searching for “WP Max Submit Protect”.

## Hỏi đáp

  Who is this plugin for?

Any WordPress site that uses forms which have lots of fields. For example, a WooCommerce
site containing products
 with many variations.

  Is this just for WooCommerce sites?

No! Any WordPress application that submits big forms can benefit from the protection
this plugin offers.
 Sites with multi-page forms implemented through GravityForms
could use this.

  Are there any configuration options?

Through the plugin no; you just install and go. There may be some server settings
to update,
 and the purpose of this plugin is to warn you about those.

  What are the PHP.ini settings that may need to be changed?

The PHP ini settings that could affect the data in large forms are:

 * max_input_vars
 * suhosin.post.max_vars
 * suhosin.request.max_vars

You may have all, some or none of these settings configured. If none are set, then
max_input_vars
 will default to 1000. This is certainly too low for some e-commerce
plugins.

## Đánh giá

![](https://secure.gravatar.com/avatar/52d5621220a9afcf2b1cfe60038100e195af1b90105d71f6b4382e38c9e27334?
s=60&d=retro&r=g)

### 󠀁[impecable cover image](https://wordpress.org/support/topic/impecable-cover-image/)󠁿

 [pcarvalho](https://profiles.wordpress.org/pcarvalho/) 13 Tháng 1, 2023

nice choice!

![](https://secure.gravatar.com/avatar/8c5a0bd157493f95efeaeb029416a28a33361eb007e5bfdfb07b67ec8bde9af9?
s=60&d=retro&r=g)

### 󠀁[Saved me a lot of grief](https://wordpress.org/support/topic/saved-me-a-lot-of-grief/)󠁿

 [fettabachi](https://profiles.wordpress.org/fettabachi/) 3 Tháng 9, 2016 1 trả 
lời

I stumbled across this plugin at this thread http://support.advancedcustomfields.
com/forums/topic/text-area-repeater-stopped-saving-after-updating-field-group/ I
installed the plugin and added the code to the htaccess file and my problem was 
solved. Thanks for your help. It’s greatly appreciated.

 [ Đọc tất cả 7 đánh giá ](https://wordpress.org/support/plugin/wp-max-submit-protect/reviews/)

## Người đóng góp & Lập trình viên

“WP Max Submit Protect” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Jason Judge ](https://profiles.wordpress.org/judgej/)

[Dịch “WP Max Submit Protect” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/wp-max-submit-protect)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/wp-max-submit-protect/),
check out [SVN repository](https://plugins.svn.wordpress.org/wp-max-submit-protect/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/wp-max-submit-protect/)
qua [RSS](https://plugins.trac.wordpress.org/log/wp-max-submit-protect/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### Version 1.1.2

 * Issue #10: Disable the inline JS in the header if the enqueued JS library link
   has not completed. This can happen if another plugin (e.g. Gravity Forms) disables
   the JS for all other plugins to avoid having to play nicely with them. This worries
   me.

#### Version 1.1.1

 * Remove check of suhosin.get.max_vars as we are only interested in POST forms.
 * Change the form selector to limit only to POST forms.

#### Version 1.1.0

 * Upgraded jquery.maxsubmit.js to 1.2.1 containing some substantial rewrites

#### Version 1.0.7

 * Upgraded jquery.maxsubmit.js to 1.1.3 to fix HTML5 input field matching

#### Version 1.0.6

 * Fixed JS syntax error that Chrome was throwing up.

#### Version 1.0.5

 * Ticket #7 Suppress warning message if no options set at all on the server.

#### Version 1.0.4

 * Update the jQuery maxsubmit plugin to 1.1.0

#### Version 1.0.3

 * Issue #1 (this readme.txt)

#### Version 1.0.2

 * Bugfix to 1.0.1

#### Version 1.0.1

 * Issue #2 and make all text translatable.

#### Version 1.0.0

 * Initial release.

## Meta

 *  Phiên bản **1.1.2**
 *  Cập nhật lần cuối **11 năm trước**
 *  Số lượt cài đặt **400+**
 *  Phiên bản WordPress ** 3.6 hoặc cao hơn **
 *  Đã kiểm tra lên đến **4.2.39**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/wp-max-submit-protect/)
 * Thẻ
 * [data-integrity](https://vi.wordpress.org/plugins/tags/data-integrity/)[forms](https://vi.wordpress.org/plugins/tags/forms/)
   [woocommerce](https://vi.wordpress.org/plugins/tags/woocommerce/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/wp-max-submit-protect/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  7 5-star reviews     ](https://wordpress.org/support/plugin/wp-max-submit-protect/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-max-submit-protect/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-max-submit-protect/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-max-submit-protect/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-max-submit-protect/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-max-submit-protect/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/wp-max-submit-protect/reviews/)

## Những người đóng góp

 *   [ Jason Judge ](https://profiles.wordpress.org/judgej/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/wp-max-submit-protect/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=B4STZL8F5WHK6)