Export Media URLs source code

By Atlas Gondal, on WordPress.org since 2020. 7,000+ active installs.

Browse code Download zip

The fastest way to pull a complete inventory of your WordPress Media Library. Below is its source code for every one of its 9 releases, what changed in the latest one, and how often it ships.

What changed in 3.2

Released Aug 16, 2026, 3 weeks after 3.1
  • New – “Repair mis-encoded characters” fixes text stored as UTF-8 but written back through an older character set, so “’” exports as “’” again
  • New – “Decode HTML entities” writes the real character behind ’, &, and friends
  • New – optional “Replace typographic characters with plain ASCII” for systems that only accept straight quotes and hyphens
  • New – CSV field delimiter is selectable: comma, semicolon (Excel in most European locales) or tab
  • New – “Keep every record on one line” collapses line breaks stored inside captions and descriptions, so one record is always one CSV line
  • New – “One row per usage”: a media item used in 3 posts can now export as 3 rows instead of one combined row

21 files changed since 3.1: 20 modified, 1 added, 0 removed.

And 11 more.

Compare 3.1 with 3.2

Release history

9 releases since November 2023
  1. 3.2 Aug 16, 2026 New – “Repair mis-encoded characters” fixes text stored as UTF-8 but written back through an older character set, so “’” exports as “’” again
  2. 3.1 Jul 25, 2026 New – “Used In” columns and “Unused” flag showing where each media item is referenced
  3. 3.0 Jun 28, 2026 New – Media Tools tab: storage summary, missing-file detector, duplicate detection, heavy-image flags, and bulk alt-text editing
  4. 2.3.1 Jun 12, 2026 Improvement – strengthened csv file name to prevent unauthorized discovery
  5. 2.3 Mar 9, 2026 Fixed – patched a security vulnerability
Full Export Media URLs changelog with diffs

Source of 3.2

26 files
Browse all Export Media URLs 3.2 files Browse trunk