DevDome Media Cleaner: Remove Unused Images & Media Library Cleanup source code

By DevDome, on WordPress.org since 2026. 500+ active installs.

Browse code Download zip

DevDome Media Cleaner is a WordPress media library cleaner for reviewing unused images before removal. Below is its source code for every one of its 16 releases, what changed in the latest one, and how often it ships.

What changed in 1.1.7

Released Nov 9, 2026, 3 weeks after 1.1.6
  • Overview: the five library numbers (total, used, unused, possible cleanup, duplicates) sit in one row.
  • Shared DevDome library 1.7.17: the connect beacon’s flood guard counts an IPv6 visitor per /64 network, and the one-click install of another DevDome plugin verifies the downloaded package against the published checksum before installing.
  • Hardening (security review): a restore refuses names with a risky inner extension (x.php.jpg) and checks that the bytes really are the image the name says before writing; the CSV export guard skips leading spaces and byte-order marks and covers the pipe character.
  • The first activation opens the plugin screen once: the DevDome Account card when the site is not connected yet, the Overview when it is. Bulk activations never redirect.
  • The update-settings ability is marked as a change that cannot be undone, so an AI assistant connected through MCP asks before running it.
  • Shared DevDome library 1.7.16: the connect request to devdome.com stays valid for 60 minutes instead of 20, and the DevDome Tools page asks the server again while a request this site started is still open, so a connection authorized in a tab that never came back still completes; the Tools page notes when DevDome Analytics is not installed; the Analytics note styles are registered through WordPress instead of a style block in the page; one shared helper reads the visitor address behind a trusted proxy; the AI Assistant is listed in the plugin catalog. After connecting, the screen you land on says which account the site is connected to and the one next step.

14 files changed since 1.1.6: 13 modified, 0 added, 1 removed.

And 4 more.

Compare 1.1.6 with 1.1.7

Release history

16 releases since July 2026
  1. 1.1.7 Nov 9, 2026 Overview: the five library numbers (total, used, unused, possible cleanup, duplicates) sit in one row.
  2. 1.1.6 Oct 16, 2026 A dismissible note at the top of the settings page mentions the free DevDome Analytics plugin, with a button that opens the plugin installer (or the Analytics screen when it is already active). Dismiss hides it for good.
  3. 1.1.5 Oct 8, 2026 Network uninstall now clears the shared DevDome connection state on every site of the network, not only the last one visited.
  4. 1.1.4 Sep 30, 2026 Duplicates: identical copies among the unused images are marked again and listed under a Duplicates pill on the Review screen and a Duplicate images tile on the Overview. The oldest copy is the suggested original; a used image is never marked.
  5. 1.1.3 Sep 30, 2026 Shared DevDome library 1.7.8: the one-time Report a bug hint is recorded through a nonce-checked request instead of on a page view.
Full DevDome Media Cleaner: Remove Unused Images & Media Library Cleanup changelog with diffs

Source of 1.1.7

39 files
Browse all DevDome Media Cleaner: Remove Unused Images & Media Library Cleanup 1.1.7 files Browse trunk