Wp-Insert source code

By Namith Jawahar, on WordPress.org since 2009. 10,000+ active installs.

Browse code Download zip

Wp-Insert is a powerful yet easy to use ad management / ad insertion plugin which does a lot more than ad management and insertion. Below is its source code for every one of its 63 releases, what changed in the latest one, and how often it ships.

What changed in 2.6.0

Released Jul 30, 2026, 3 years after 2.5.1
  • Modernisation release. Existing ad code and settings are preserved; no reconfiguration is required.
  • Added an automated test suite covering ad-code rendering fidelity (iframes, JavaScript, AdSense, HTML, shortcodes) across every placement type, so updates cannot silently change how your ads are output.
  • Fixed a fatal error on PHP 8 when a second geo-targeting country group was configured.
  • Fixed numerous PHP 8.x warnings across the ad rendering path, including for ad units created by older versions of the plugin.
  • Security: added capability checks to every admin AJAX endpoint, restricted ad data saving to known ad unit types, added nonce verification to the ads.txt AdSense reset action, and removed debug output from the ad save routine.
  • Security: escaped all admin-side output, including the Google Analytics tracker ID which was previously written unescaped into an inline script.

414 files changed since 2.5.1: 376 modified, 18 added, 20 removed.

And 404 more.

Compare 2.5.1 with 2.6.0

Release history

63 releases since May 2009
  1. 2.7.0 Oct 28, 2026
  2. 2.6.0 Jul 30, 2026 Modernisation release. Existing ad code and settings are preserved; no reconfiguration is required.
  3. 2.5.1 Feb 8, 2023 Plugin header and coding standards updates.
  4. 2.5.0 May 30, 2022
  5. 2.4.8 Jan 22, 2021
Full Wp-Insert changelog with diffs

Source of 2.6.0

411 files
Browse all Wp-Insert 2.6.0 files Browse trunk