WP Original Media Path source code
By RVOLA, on WordPress.org since 2012. 5,000+ active installs.
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.
- LICENSE.txt modified, +2 bytes
- languages/wp-original-media-path.pot modified, +1,870 bytes
- readme.txt modified, -3,258 bytes
- uninstall.php modified, +310 bytes
- wp_original_media_path.php modified, -9,314 bytes
- class/Settings.php added
- class/UploadPath.php added
- CHANGELOG.md removed
- assets/wpomp.css removed
- assets/wpomp.js removed
And 2 more.
Compare 2.4.3 with 3.0.0Release history
14 releases since December 2012- 3.0.0 Nov 24, 2026 Multisite support, for super admins only.
- 2.4.3 Aug 17, 2026
- 2.4.2 Mar 16, 2026
- 2.3.0 Nov 8, 2017
- 2.2.0 Oct 31, 2017