前言介紹
- 這款 WordPress 外掛「WP Max Submit Protect」是 2014-01-10 上架。
- 目前有 500 個安裝啟用數。
- 上一次更新是 2015-07-30,距離現在已有 3566 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.6 以上版本才可以安裝。
- 有 7 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
judgej |
外掛標籤
forms | woocommerce | data-integrity |
內容簡介
某些應用程式(例如電子商務網站)可能有超過一千個以上的管理表單參數需要提交。PHP 預設只設定接受一千個參數,因此一些提交的資料可能會遺失。
大多數應用程式沒有檢查是否已接收到所有資料,因此資料容易受到破壞,而且可能會無聲無息地遺失。例如,擁有 40 種變化的 WooCommerce 產品可能有超過 1300 個提交的表單項目,當您儲存產品時,您不知道那些資料的大部分都被丟棄了。
幸運的是,在 php.ini 中接受的最大參數數量可以更改。
問題是,許多網站擁有者直到太晚才知道需要這樣做,他們的應用程式(例如 WooCommerce 商店)已經失去了一半的產品變體。
如果在您的網站上使用 php.ini,則該檔案需要在 / wp-admin 目錄中,因為這是管理表單提交的地方。
為了保護自己並確保伺服器限制不會無意中捉住您,請安裝此外掛,並讓它在後台運行。每次您嘗試在管理頁面上提交表單(例如更新具有許多變體的 WooCommerce 產品)時,此外掛將檢查您準備提交的表單參數數量是否超過伺服器限制。如果超過,它將通知您,並提供您暫停提交的機會,同時您可以增加伺服器設定。上面的連結描述了如何在伺服器上設定限制。詳細資訊請參閱常見問題集。
此外掛已在 PHP5.4 上進行測試,但是編寫為與 PHP5.3 兼容。項目存儲庫在此:
https://github.com/academe/wp-max-submit-protect
注意:啟用 Gravity Forms 的「不衝突模式」將停用此外掛。您可能有使用該設置的原因,但這將禁用大多數其他外掛,其中一些可能與安全有關。
請讓我知道此外掛對您的工作效果如何,您是否喜歡它,以及如何改進它。
原文外掛簡介
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
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
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.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP Max Submit Protect」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.3 | 1.0.4 | 1.0.5 | 1.0.6 | 1.1.0 | 1.1.1 | 1.1.2 | trunk |
延伸相關外掛(你可能也想知道)
Google for WooCommerce 》, Google Listings & Ads可讓您輕鬆地向Google平台上的購物者展示您的產品。無論您是數位廣告的新手還是市場營銷專家,您都可以通過免費和廣告來擴大您的...。
WooCommerce Shipping & Tax 》WooCommerce Shipping & Tax 外掛可讓基本的電子商務功能如運送更加可靠,并減輕了您的網站基礎架構壓力。, 使用 WooCommerce Shipping & Tax 外掛,...。
WooCommerce PayPal Payments 》PayPal 最新、功能最完備的付款處理解決方案。除了接受 PayPal 獨有的付款方式,也可接受信用卡/借記卡和本地付款方式。開啟 PayPal 付款選項或處理完整的付...。
WooCommerce Legacy REST API 》總結:, - 在WooCommerce 9.0版本起,Legacy REST API將不再是WooCommerce的一部分。, - 這款外掛程式在WooCommerce 9.0及以後版本中還原了已移除的Legacy RE...。
WP Crontrol 》WP Crontrol 可以讓您查看和控制 WP-Cron 系統中正在發生的事件。從管理界面,您可以:, , 查看所有的 Cron 事件以及它們的參數、循環間隔時間、回撥函數以及...。
PDF Invoices & Packing Slips for WooCommerce 》這個 WooCommerce 外掛可以自動為您的客戶在訂單確認電子郵件中添加 PDF 發票。包括一個基本模板(額外的模板可從 WP Overnight 購買),以及修改/建立自己的...。
Variation Swatches for WooCommerce 》為 WooCommerce 產品屬性打造美麗的顏色、圖片和按鈕變化的樣式, 如何安裝 WooCommerce 變化樣式外掛程式升級可變產品, , 變化樣式是易於使用的 WooCommerce ...。
WooCommerce Cart Abandonment Recovery 》現在是時候停止購物車放棄行為,並找回您失去的收入了!, 研究顯示,約有60%至80%的使用者前往結帳頁面,但沒有完成購買。即使最佳優化的結帳流程也有20%的...。
Pinterest for WooCommerce 》Pinterest 提供人們下一個偉大的想法。它部分收藏品,部分市場,是數百萬個分享者獲取靈感、新產品和新可能性的一站式購物平台。它就像一個視覺搜尋引擎,引...。
Google Analytics for WooCommerce 》這個外掛提供了 Google Analytics 與 WooCommerce 外掛之間的整合,您可以將推薦連結與購買關聯,並將交易資訊新增到您的 Google Analytics 資料中。它還支援...。
User Switching 》這個外掛可讓您輕鬆在 WordPress 中點擊按鈕即可快速切換使用者帳戶。您會立即登出並切換成所需使用者。這對於測試環境、協助 WooCommerce 網站上的客戶或任...。
WooCommerce Checkout & Funnel Builder by CartFlows 》#1 WooCommerce 結帳 & 漏斗建置外掛 – CartFlows, ★★★★★, 相較於其他所有的 WooCommerce 結帳選項,更多 WooCommerce 商店店主都選擇了 CartFlows。為什麼呢...。
FiboSearch – Ajax Search for WooCommerce 》這是最受歡迎的 WooCommerce 產品搜尋外掛。它為您的用戶提供了一個設計良好的 AJAX 高級搜尋條和即時搜尋建議。, 預設情況下,WooCommerce 提供了一個非常簡...。
YITH WooCommerce Quick View 》有時半途而廢是最好的:如果你正在檢視產品列表,但其圖片仍然太小,需要打開該產品頁面,等待載入,最後才能觀察你感興趣的項目。, 因此,為什麼不使用一種...。
Custom Product Tabs for WooCommerce 》此外掛擴充了 WooCommerce 功能,允許商店擁有者針對產品添加自訂選項卡。這些選項卡顯示在每個產品頁面上,出現在預設的「描述」選項卡右側。, 個別產品選項...。