Simple Upload Weight Limit

外掛說明

Simple Upload Weight Limit is a minimalist and essential utility for multi-author blogs, client websites, and community sites. It prevents users from exhausting hosting space and bandwidth by blocking the upload of unoptimized, oversized files.

Unlike complex membership plugins, this tool focuses on one thing: keeping your Media Library clean and your server performance high.

Features

  • Custom KB Limit: Easily set your preferred limit (e.g., 500KB or 2048KB) via the settings page.
  • Role-Based Protection: The restriction automatically excludes Administrators, ensuring you always have full control.
  • Smart Feedback: Provides clear, translatable error messages to users when a file exceeds the limit.
  • Performance First: No background processes or bloat. Only clean, secure PHP that runs only during the upload process.

螢幕擷圖

  • The minimalist settings page where you can define the maximum file size in KB.
  • Example of the error message displayed in the Media Library when an unoptimized file exceeds the limit.

安裝方式

  1. Upload the simple-upload-weight-limit folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings > Upload Weight Limit to configure your maximum file size.

使用者評論

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

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.0.0

  • Initial release.
  • Added secure data sanitization and output escaping.
  • Role-based exclusion for Administrators.