WP Anything Downloader source code
By vinit sharma, on WordPress.org since 2018. 3,000+ active installs.
WP Anything Downloader adds a simple “Download” link to every theme and plugin listed in your WordPress admin. Below is its source code for every one of its 10 releases, what changed in the latest one, and how often it ships.
What changed in 4.1
Released Jun 4, 2026, 1 year after 4.0- Security: Added capability checks (install_plugins / install_themes) to the download handler and the action links.
- Security: Properly unslash and sanitize all request data; escape all generated output and URLs.
- Fix: Replaced the deprecated jQuery $(window).load() with $(window).on("load") so the theme download button works on modern WordPress (jQuery 3.x).
- Added Text Domain and made the “Download” label translatable.
- Replaced unlink() with wp_delete_file().
- Added Requires PHP header.
2 files changed since 4.0: 2 modified, 0 added, 0 removed.
- readme.txt modified, +1,821 bytes
- wp-anything-downloader.php modified, +1,768 bytes
Release history
10 releases since December 2018- 4.1 Jun 4, 2026 Security: Added capability checks (install_plugins / install_themes) to the download handler and the action links.
- 4.0 May 19, 2025 Compatible with latest WordPress version.
- 3.0.7 Feb 26, 2025
- 3.0.3 Dec 31, 2024
- 3.0.2 Mar 22, 2022