{"id":352455,"date":"2026-08-14T11:11:48","date_gmt":"2026-08-14T11:11:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/media-reference-inspector\/"},"modified":"2026-08-14T12:54:12","modified_gmt":"2026-08-14T12:54:12","slug":"media-reference-inspector","status":"publish","type":"plugin","link":"https:\/\/am.wordpress.org\/plugins\/media-reference-inspector\/","author":23547617,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.0","stable_tag":"1.1.0","tested":"7.0.4","requires":"6.2","requires_php":"7.4","requires_plugins":null,"header_name":"Media Reference Inspector","header_author":"rejoyan9009","header_description":"Find where a Media Library item is referenced in standard WordPress content before you replace or remove it.","assets_banners_color":"","last_updated":"2026-08-14 12:54:12","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":35,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.2":{"tag":"1.0.2","author":"rejoyan9009","date":"2026-08-14 11:11:22"},"1.1.0":{"tag":"1.1.0","author":"rejoyan9009","date":"2026-08-14 12:54:12"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3647213,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3647213,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3647213,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3647213,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3647213,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.2","1.1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[39231,1346,233,252002,1847],"plugin_category":[50],"plugin_contributors":[275704],"plugin_business_model":[],"class_list":["post-352455","plugin","type-plugin","status-publish","hentry","plugin_tags-admin-tools","plugin_tags-attachments","plugin_tags-media-library","plugin_tags-media-usage","plugin_tags-references","plugin_category-media","plugin_contributors-rejoyan9009","plugin_committers-rejoyan9009"],"banners":{"banner":"https:\/\/ps.w.org\/media-reference-inspector\/assets\/banner-772x250.png?rev=3647213","banner_2x":"https:\/\/ps.w.org\/media-reference-inspector\/assets\/banner-1544x500.png?rev=3647213","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/media-reference-inspector\/assets\/icon.svg?rev=3647213","icon":"https:\/\/ps.w.org\/media-reference-inspector\/assets\/icon.svg?rev=3647213","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Media Reference Inspector is a small, read-only admin tool for checking where an individual Media Library item is referenced.<\/p>\n\n<p>The plugin focuses on standard WordPress locations and intentionally does not delete files, change content, create database tables, track users, or call external services.<\/p>\n\n<p>Supported reference checks in version 1.1.0:<\/p>\n\n<ul>\n<li>Post, page, and custom post type content or excerpts that contain the original media URL, a generated image-size URL, or the WordPress <code>wp-image-ID<\/code> class.<\/li>\n<li>Core WordPress media blocks that store attachment IDs: Image, Gallery, Cover, Media &amp; Text, File, Audio, and Video.<\/li>\n<li>Featured images stored with WordPress core <code>_thumbnail_id<\/code> metadata.<\/li>\n<li>Navigation menu custom URLs that exactly match the original media URL or a generated image-size URL.<\/li>\n<li>WordPress Site Icon and Site Logo settings.<\/li>\n<li>Active theme Custom Logo, Header Image, and Background Image settings, including generated image-size URL variants where applicable.<\/li>\n<\/ul>\n\n<p>Scan results include the post ID for content references to make follow-up checks easier.<\/p>\n\n<p>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.<\/p>\n\n<h4>Privacy<\/h4>\n\n<p>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.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>media-reference-inspector<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or install the ZIP through Plugins &gt; Add New &gt; Upload Plugin.<\/li>\n<li>Activate Media Reference Inspector.<\/li>\n<li>Go to Media &gt; Media References.<\/li>\n<li>Choose a media item and select \"Find References\".<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20delete%20media%20files%3F\"><h3>Does this plugin delete media files?<\/h3><\/dt>\n<dd><p>No. The plugin is intentionally read-only. It does not delete, detach, rename, replace, or modify media.<\/p><\/dd>\n<dt id=\"does%20%22no%20references%20found%22%20mean%20the%20file%20is%20safe%20to%20delete%3F\"><h3>Does \"no references found\" mean the file is safe to delete?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"which%20wordpress%20blocks%20are%20detected%20by%20attachment%20id%3F\"><h3>Which WordPress blocks are detected by attachment ID?<\/h3><\/dt>\n<dd><p>Version 1.1.0 recognizes the core Image, Gallery, Cover, Media &amp; Text, File, Audio, and Video blocks when their saved block attributes reference the selected Media Library item.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20detect%20resized%20image%20urls%3F\"><h3>Does the plugin detect resized image URLs?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20use%20an%20external%20service%20or%20api%3F\"><h3>Does the plugin use an external service or API?<\/h3><\/dt>\n<dd><p>No. All checks run locally in the WordPress admin area against the site's own WordPress data.<\/p><\/dd>\n<dt id=\"who%20can%20use%20the%20scanner%3F\"><h3>Who can use the scanner?<\/h3><\/dt>\n<dd><p>Version 1.1.0 requires the <code>manage_options<\/code> capability because scan results can reveal references to content that is not publicly visible.<\/p><\/dd>\n<dt id=\"does%20uninstalling%20the%20plugin%20remove%20anything%3F\"><h3>Does uninstalling the plugin remove anything?<\/h3><\/dt>\n<dd><p>The plugin stores no settings or scan history, so there is no plugin data to remove.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added detection for generated image-size URLs recorded in WordPress attachment metadata, including HTTP\/HTTPS URL variants.<\/li>\n<li>Added attachment-ID-aware detection for core Image, Gallery, Cover, Media &amp; Text, File, Audio, and Video blocks.<\/li>\n<li>Extended navigation menu, header image, and background image checks to recognize generated image-size URL variants.<\/li>\n<li>Added post IDs to content-reference labels for faster follow-up checks.<\/li>\n<li>Preserved the plugin's read-only behavior, existing security checks, and existing standard WordPress reference checks.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Restructured direct database reads so prepared SQL is passed directly to the query methods, satisfying Plugin Check prepared-SQL analysis.<\/li>\n<li>Read search and pagination values through validated PHP input filters, removing false-positive nonce warnings for read-only navigation.<\/li>\n<li>Kept nonce verification on attachment scan actions and preserved all existing security, responsive-layout, and accessibility behavior.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fixed media-list layout on narrow screens and browsers using a desktop-sized mobile viewport.<\/li>\n<li>Prevented the search form and Find References buttons from clipping or overlapping content.<\/li>\n<li>Added a compact responsive card layout while preserving accessible table semantics.<\/li>\n<li>Bumped the asset version to refresh cached admin CSS.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>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.<\/li>\n<li>Added nonce-protected individual scans and administrator capability checks.<\/li>\n<li>Added explicit warnings that an empty result is not proof that a media file is unused.<\/li>\n<li>Added responsive admin tables, horizontal pagination, accessible action labels, and a file-type fallback for media without generated previews.<\/li>\n<\/ul>","raw_excerpt":"Find where a Media Library item is referenced in standard WordPress content before you replace or remove it.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/352455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=352455"}],"author":[{"embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/rejoyan9009"}],"wp:attachment":[{"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=352455"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=352455"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=352455"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=352455"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=352455"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=352455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}