Linux 软件免费装
Banner图

Media Reference Inspector

开发者 rejoyan9009
更新时间 2026年8月14日 20:54
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

media library attachments references admin tools media usage

下载

1.0.2 1.1.0

详情介绍:

Media Reference Inspector is a small, read-only admin tool for checking where an individual Media Library item is referenced. The plugin focuses on standard WordPress locations and intentionally does not delete files, change content, create database tables, track users, or call external services. Supported reference checks in version 1.1.0: Scan results include the post ID for content references to make follow-up checks easier. The results are advisory. A result of "no references found" does not prove that a file is unused. Themes, page builders, custom database tables, external systems, custom code, or plugin-specific storage can reference media in other ways. Privacy Media Reference Inspector does not send data to external services and does not add tracking or analytics. It stores no plugin settings or scan history.

安装:

  1. Upload the media-reference-inspector folder to /wp-content/plugins/, or install the ZIP through Plugins > Add New > Upload Plugin.
  2. Activate Media Reference Inspector.
  3. Go to Media > Media References.
  4. Choose a media item and select "Find References".

常见问题:

Does this plugin delete media files?

No. The plugin is intentionally read-only. It does not delete, detach, rename, replace, or modify media.

Does "no references found" mean the file is safe to delete?

No. The plugin checks a focused set of standard WordPress locations. Custom builders, plugins, themes, custom tables, external applications, and custom code may store references elsewhere.

Which WordPress blocks are detected by attachment ID?

Version 1.1.0 recognizes the core Image, Gallery, Cover, Media & Text, File, Audio, and Video blocks when their saved block attributes reference the selected Media Library item.

Does the plugin detect resized image URLs?

Yes. For image attachments, version 1.1.0 also checks URLs for generated image sizes recorded in WordPress attachment metadata, in addition to the main attachment URL.

Does the plugin use an external service or API?

No. All checks run locally in the WordPress admin area against the site's own WordPress data.

Who can use the scanner?

Version 1.1.0 requires the manage_options capability because scan results can reveal references to content that is not publicly visible.

Does uninstalling the plugin remove anything?

The plugin stores no settings or scan history, so there is no plugin data to remove.

更新日志:

1.1.0 1.0.2 1.0.1 1.0.0