Wp-Insert source code
By Namith Jawahar, on WordPress.org since 2009. 10,000+ active installs.
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.
- includes/assets/css/wp-insert.css modified, -219 bytes
- includes/assets/js/uncompressed/jQuery-Chart/Chart.bundle.js modified, -152 bytes
- includes/assets/js/wp-insert-global.js modified, -18 bytes
- includes/assets/js/wp-insert.js modified, -95 bytes
- includes/modules/core/abtesting/module.php modified, +33 bytes
- includes/modules/core/adstxt/adsense.php modified, +480 bytes
- includes/modules/core/adstxt/js/module.js modified, -132 bytes
- includes/modules/core/adstxt/module.php modified, +663 bytes
- includes/modules/core/controlpanel/module.php modified, -1,503 bytes
- includes/modules/core/controls/css/controls.css modified, -1,412 bytes
And 404 more.
Compare 2.5.1 with 2.6.0Release history
63 releases since May 2009- 2.7.0 Oct 28, 2026
- 2.6.0 Jul 30, 2026 Modernisation release. Existing ad code and settings are preserved; no reconfiguration is required.
- 2.5.1 Feb 8, 2023 Plugin header and coding standards updates.
- 2.5.0 May 30, 2022
- 2.4.8 Jan 22, 2021