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.

螢幕截圖

安裝

  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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“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.