WP Original Media Path source code

By RVOLA, on WordPress.org since 2012. 5,000+ active installs.

Browse code Download zip

WordPress still stores the location of the uploads folder and its URL, but has hidden these two settings since version 3.5. This plugin brings them back, with safeguards. Below is its source code for every one of its 14 releases, what changed in the latest one, and how often it ships.

What changed in 3.0.0

Released Nov 24, 2026, 3 months after 2.4.3
  • Multisite support, for super admins only.
  • Works with Composer-based installs, WordPress in its own folder and a custom content folder: nothing assumes wp-content anymore.
  • The settings page shows where an uploaded image goes: its URL and its file on the server.
  • Expert mode without JavaScript.
  • Safer URL and folder cleaning.
  • The upload fields of Settings > Media can only be changed on this page.

12 files changed since 2.4.3: 5 modified, 2 added, 5 removed.

And 2 more.

Compare 2.4.3 with 3.0.0

Release history

14 releases since December 2012
  1. 3.0.0 Nov 24, 2026 Multisite support, for super admins only.
  2. 2.4.3 Aug 17, 2026
  3. 2.4.2 Mar 16, 2026
  4. 2.3.0 Nov 8, 2017
  5. 2.2.0 Oct 31, 2017
Full WP Original Media Path changelog with diffs

Source of 3.0.0

7 files
Browse all WP Original Media Path 3.0.0 files Browse trunk