WP Anything Downloader source code

By vinit sharma, on WordPress.org since 2018. 3,000+ active installs.

Browse code Download zip

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.

Compare 4.0 with 4.1

Release history

10 releases since December 2018
  1. 4.1 Jun 4, 2026 Security: Added capability checks (install_plugins / install_themes) to the download handler and the action links.
  2. 4.0 May 19, 2025 Compatible with latest WordPress version.
  3. 3.0.7 Feb 26, 2025
  4. 3.0.3 Dec 31, 2024
  5. 3.0.2 Mar 22, 2022
Full WP Anything Downloader changelog with diffs

Source of 4.1

2 files
Browse all WP Anything Downloader 4.1 files Browse trunk