跳到内容

OctoSize Media Scanner

v1.0.0

gasmark8 · 2026年6月30日 上架

Find oversized images, large uploads, and heavy media in your WordPress media library.

正在使用
10+
评分
暂无
累计下载
348
最近更新
2026年7月1日
需要 WordPress 6.1+已测试到 7.0.9PHP 8.0+

贡献者

OctoSize Media Scanner helps site owners find oversized images, large uploads, and other heavy media library files quickly.

Features:

  • Adds Media > OctoSize Media Scanner in wp-admin
  • Scans attachment file sizes from the uploads directory
  • Sorts largest files first by default
  • Supports sorting by size, title, type, or path
  • Filters by minimum size in 5 MB increments
  • Searches by filename, title, or MIME type
  • Supports optional nightly WP-Cron scans
  • Uses caching and a scan lock to reduce repeated heavy work

Performance notes:

  • Attachment scanning runs in batches
  • Results are cached to avoid repeated full scans
  • Cache is invalidated when attachments are added, edited, or deleted

Security notes:

  • The admin page is restricted to users with the upload_files capability
  • Manual actions are protected with nonces
  • Input is sanitized and output is escaped
  • File reads are restricted to uploads-based attachment paths

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums