Simple File Upload Limiter

外掛說明

Simple File Upload Limiter lets you set a different maximum upload size for each kind of file, right from the WordPress admin. Users can’t upload files that exceed the limits you define, which helps you keep your server resources and media library under control.

Features:

  • Separate limits for images, documents, audio, video and other file types.
  • Limits defined in kilobytes (KB).
  • One simple settings page under Settings > File Upload Limiter.
  • A clear error message tells the user which limit was exceeded.

Looking to limit uploads by user role instead of by file type? Take a look at Simple Upload Weight Limit.

螢幕擷圖

安裝方式

  1. Upload the simple-file-upload-limiter folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings > File Upload Limiter to configure the upload limits.

常見問題集

Can I set different limits for different file types?

Yes. You can set individual upload limits for images, documents, audio, video, and other file types from the plugin’s settings page.

What happens if a user tries to upload a file that exceeds the limit?

The upload is refused and the user sees an error message that includes the file type and the allowed limit.

Does this raise my server’s upload limit?

No. The limits set here can only be lower than or equal to the maximum your hosting allows (upload_max_filesize and post_max_size in PHP). They can’t raise it.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

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

參與者

將〈Simple File Upload Limiter〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.1.0

  • Saved limits are now sanitized: one positive whole number per file type.
  • Removed the manual translation loading, which WordPress handles automatically for plugins hosted on WordPress.org.
  • Added the missing license URI and minimum-version headers.
  • Added a gentle, dismissible review request on the settings page (shown after a week).
  • Tested with WordPress 7.1.

1.0.0

  • Initial release.