Title: Media Reference Inspector
Author: rejoyan9009
Published: <strong>اگست 14, 2026</strong>
Last modified: اگست 14, 2026

---

پلگ انز تلاش کریں

![](https://ps.w.org/media-reference-inspector/assets/banner-772x250.png?rev=3647213)

![](https://ps.w.org/media-reference-inspector/assets/icon.svg?rev=3647213)

# Media Reference Inspector

 منجانب [rejoyan9009](https://profiles.wordpress.org/rejoyan9009/)

[ڈاؤن لوڈ کریں](https://downloads.wordpress.org/plugin/media-reference-inspector.1.1.0.zip)

 * [تفصیلات](https://ur.wordpress.org/plugins/media-reference-inspector/#description)
 * [جائزے](https://ur.wordpress.org/plugins/media-reference-inspector/#reviews)
 *  [انسٹالیشن](https://ur.wordpress.org/plugins/media-reference-inspector/#installation)
 * [ڈیولپمنٹ](https://ur.wordpress.org/plugins/media-reference-inspector/#developers)

 [معاونت](https://wordpress.org/support/plugin/media-reference-inspector/)

## تفصیل

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:

 * Post, page, and custom post type content or excerpts that contain the original
   media URL, a generated image-size URL, or the WordPress `wp-image-ID` class.
 * Core WordPress media blocks that store attachment IDs: Image, Gallery, Cover,
   Media & Text, File, Audio, and Video.
 * Featured images stored with WordPress core `_thumbnail_id` metadata.
 * Navigation menu custom URLs that exactly match the original media URL or a generated
   image-size URL.
 * WordPress Site Icon and Site Logo settings.
 * Active theme Custom Logo, Header Image, and Background Image settings, including
   generated image-size URL variants where applicable.

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.

## جائزے

There are no reviews for this plugin.

## شراکت دار اور ڈیویلپرز

“Media Reference Inspector” اوپن سورس سافٹ ویئر ہے۔ مندرجہ ذیل لوگوں نے اس پلگ ان
میں حصہ لیا:

شراکت دار

 *   [ rejoyan9009 ](https://profiles.wordpress.org/rejoyan9009/)

[“Media Reference Inspector” کا اپنی زبان میں ترجمہ کریں۔](https://translate.wordpress.org/projects/wp-plugins/media-reference-inspector)

### ڈویلپمینٹ میں دلچسپی ہے؟

[کوڈ براؤز کریں](https://plugins.trac.wordpress.org/browser/media-reference-inspector/)،
[ایس این وی ریپوزیٹری](https://plugins.svn.wordpress.org/media-reference-inspector/)
کو چیک کریں یا [ڈویلپمینٹ لاگ](https://plugins.trac.wordpress.org/log/media-reference-inspector/)
کو سبسکرائب کریں بذریعہ [آر ایس ایس](https://plugins.trac.wordpress.org/log/media-reference-inspector/?limit=100&mode=stop_on_copy&format=rss)۔

## چینج لاگ

#### 1.1.0

 * Added detection for generated image-size URLs recorded in WordPress attachment
   metadata, including HTTP/HTTPS URL variants.
 * Added attachment-ID-aware detection for core Image, Gallery, Cover, Media & Text,
   File, Audio, and Video blocks.
 * Extended navigation menu, header image, and background image checks to recognize
   generated image-size URL variants.
 * Added post IDs to content-reference labels for faster follow-up checks.
 * Preserved the plugin’s read-only behavior, existing security checks, and existing
   standard WordPress reference checks.

#### 1.0.2

 * Restructured direct database reads so prepared SQL is passed directly to the 
   query methods, satisfying Plugin Check prepared-SQL analysis.
 * Read search and pagination values through validated PHP input filters, removing
   false-positive nonce warnings for read-only navigation.
 * Kept nonce verification on attachment scan actions and preserved all existing
   security, responsive-layout, and accessibility behavior.

#### 1.0.1

 * Fixed media-list layout on narrow screens and browsers using a desktop-sized 
   mobile viewport.
 * Prevented the search form and Find References buttons from clipping or overlapping
   content.
 * Added a compact responsive card layout while preserving accessible table semantics.
 * Bumped the asset version to refresh cached admin CSS.

#### 1.0.0

 * Initial release.
 * Added read-only media reference checks for post content, excerpts, featured images,
   menu URLs, Site Icon, Site Logo, Custom Logo, Header Image, and Background Image.
 * Added nonce-protected individual scans and administrator capability checks.
 * Added explicit warnings that an empty result is not proof that a media file is
   unused.
 * Added responsive admin tables, horizontal pagination, accessible action labels,
   and a file-type fallback for media without generated previews.

## میٹا

 *  Version **1.1.0**
 *  Last updated **8 گھنٹے پہلے**
 *  Active installations **10 سے کم**
 *  WordPress version ** 6.2 یا اس سے جدید **
 *  Tested up to **7.0.4**
 *  PHP version ** 7.4 یا اس سے جدید **
 *  Language
 * [English (US)](https://wordpress.org/plugins/media-reference-inspector/)
 * Tags
 * [Admin Tools](https://ur.wordpress.org/plugins/tags/admin-tools/)[attachments](https://ur.wordpress.org/plugins/tags/attachments/)
   [media library](https://ur.wordpress.org/plugins/tags/media-library/)[media usage](https://ur.wordpress.org/plugins/tags/media-usage/)
   [references](https://ur.wordpress.org/plugins/tags/references/)
 *  [اعلی درجے کا منظر](https://ur.wordpress.org/plugins/media-reference-inspector/advanced/)

## درجہ بندیاں

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/media-reference-inspector/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/media-reference-inspector/reviews/)

## شراکت دار

 *   [ rejoyan9009 ](https://profiles.wordpress.org/rejoyan9009/)

## معاونت

کچھ کہنا ہے؟ مدد چاہیے؟

 [معاونتی فورم دیکھیں](https://wordpress.org/support/plugin/media-reference-inspector/)