這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP Upload Restriction

外掛說明

This plugin allows you to restrict your site users from uploading files of certain types and control the maximum file upload size. Administrator can select the file types and file upload limit by user role. This plugin restricts users from uploading unwanted files using the WordPress media uploader.

It is very simple to use. You will be able give permissions role wise. To restore WordPress’s default selection, just deactivate the plugin.

Any issue? Please let me know (http://sajjadhossain.com/contact-me/).

螢幕擷圖

  • Settings – Restriction page
  • Settings – Custom File Type management page

安裝方式

  1. Upload wp-upload-restriction folder to the plugins directory (/wp-content/plugins/).
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings > WP Upload Restriction settings page.
  4. Check/uncheck the extensions you want to allow/deny for each role.
  5. Check “Restrict upload size to” checkbox to restrict file upload size and enter the file size in MB.
  6. Save the changes.

To return back to WordPress’s default selection, just deactivate the plugin.

使用者評論

2024 年 7 月 23 日
This is probably the only one of its kind on the wordpress plugin market and I am so happy it not only works, but that it had been updated. Works perfectly fine for Wordpress 6.6. Thank you so much for this!
2022 年 12 月 22 日
Hace meses que no se actualiza y da mensajes de error al intentar configurarlo.
2021 年 6 月 25 日
It only shows “Settings could not be saved.” and does nothing. In support section there is several topics for this issue without answer or solution.
2020 年 11 月 6 日
Nothing happens, loading animation all the time in “Restrictions”, nothing happens when you try to add a custum file type.
閱讀全部 13 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP Upload Restriction〉的開發相關工作。

參與者

將〈WP Upload Restriction〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.2.9

  • Fixed: Limit unit was saving but not showing the actual selection.
  • Tested with WP version 6.5.5

2.2.8

  • Fixed security related issues.

2.2.3

  • Minor fixes.

2.2.2

  • New feature: Added option for selecting file size unit (MB and KB).
  • Compatibility check.

2.2.0

  • New feature: Added option for managing custom file type.
  • UI improvements

2.1.0

  • Role wise file upload size restriction added.
  • Fixed some minor issues.

2.0.1

  • Fixed design break in settings page.

2.0.0

  • Restructured the plugin to add role wise restriction.