Ad Injection - Version 1.1.0.4

Version Description

  • First ad can now be started at or after a paragraph or character position.
  • Override ad positions on individual posts using <!--topad--> <!--randomad--> <!--bottomad-->
  • Separate old post restriction for widget ads.
  • Template ad examples in the 'Test ads' section.
  • Warning message improvements.
  • UI tweaks and other fixes.
Download this release

Release Info

Developer reviewmylife
Plugin Icon wp plugin Ad Injection
Version 1.1.0.4
Comparing to
See all releases

Code changes from version 1.1.0.3 to 1.1.0.4

Files changed (3) hide show
  1. ad-injection-admin.php +1 -1
  2. ad-injection.php +1 -1
  3. readme.txt +3 -3
ad-injection-admin.php CHANGED
@@ -1268,7 +1268,7 @@ function adinj_upgrade_db(){
1268
  }
1269
  }
1270
 
1271
- if ($stored_dbversion < 15){
1272
  $new_options['widgets_on_page_older_than'] = $stored_options['ads_on_page_older_than'];
1273
  }
1274
 
1268
  }
1269
  }
1270
 
1271
+ if ($stored_dbversion < 16){
1272
  $new_options['widgets_on_page_older_than'] = $stored_options['ads_on_page_older_than'];
1273
  }
1274
 
ad-injection.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Ad Injection
4
  Plugin URI: http://www.reviewmylife.co.uk/blog/2010/12/06/ad-injection-plugin-wordpress/
5
  Description: Injects any advert (e.g. AdSense) into your WordPress posts or widget area. Restrict who sees the ads by post length, age, referrer or IP. Cache compatible.
6
- Version: 1.1.0.3
7
  Author: reviewmylife
8
  Author URI: http://www.reviewmylife.co.uk/
9
  License: GPLv2
3
  Plugin Name: Ad Injection
4
  Plugin URI: http://www.reviewmylife.co.uk/blog/2010/12/06/ad-injection-plugin-wordpress/
5
  Description: Injects any advert (e.g. AdSense) into your WordPress posts or widget area. Restrict who sees the ads by post length, age, referrer or IP. Cache compatible.
6
+ Version: 1.1.0.4
7
  Author: reviewmylife
8
  Author URI: http://www.reviewmylife.co.uk/
9
  License: GPLv2
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.reviewmylife.co.uk/blog/2010/12/06/ad-injection-plugin-w
4
  Tags: ad injection, adsense, advert injection, advert, ad, injection, advertising, affiliate, inject, injection, insert, widget, widgets, sidebar, monetize, monetise, banner, Amazon, ClickBank, TradeDoubler, Google, adBrite, post, WordPress, automatically, plugin, Adsense Injection, free, blog, ad rotation, A:B testing, split testing, WP Super Cache, W3 Total Cache, WP Cache
5
  Requires at least: 2.8.6
6
  Tested up to: 3.2.1
7
- Stable tag: 1.1.0.3
8
 
9
  Injects any adverts (e.g. AdSense) into the WordPress posts or widget area. Restrict who sees ads by post length/age/referrer or IP. Cache compatible.
10
 
@@ -514,7 +514,7 @@ If you do get any errors please use the 'Report a bug or give feedback' link on
514
 
515
  == Changelog ==
516
 
517
- = 1.1.0.3 =
518
  * First ad can now be started at or after a paragraph or character position.
519
  * Override ad positions on individual posts using &lt;!--topad--&gt; &lt;!--randomad--&gt; &lt;!--bottomad--&gt;
520
  * Separate old post restriction for widget ads.
@@ -704,7 +704,7 @@ Fix 'Something badly wrong in num_rand_ads_to_insert' message that occurs on pag
704
 
705
  == Upgrade Notice ==
706
 
707
- = 1.1.0.3 =
708
  * First ad can now be started at or after a paragraph or character position. Position override tags. Separate old post restriction for widget ads. Template ad examples in the 'Test ads' section. Warning message improvements. Other fixes.
709
 
710
  = 1.1.0.2 =
4
  Tags: ad injection, adsense, advert injection, advert, ad, injection, advertising, affiliate, inject, injection, insert, widget, widgets, sidebar, monetize, monetise, banner, Amazon, ClickBank, TradeDoubler, Google, adBrite, post, WordPress, automatically, plugin, Adsense Injection, free, blog, ad rotation, A:B testing, split testing, WP Super Cache, W3 Total Cache, WP Cache
5
  Requires at least: 2.8.6
6
  Tested up to: 3.2.1
7
+ Stable tag: 1.1.0.4
8
 
9
  Injects any adverts (e.g. AdSense) into the WordPress posts or widget area. Restrict who sees ads by post length/age/referrer or IP. Cache compatible.
10
 
514
 
515
  == Changelog ==
516
 
517
+ = 1.1.0.4 =
518
  * First ad can now be started at or after a paragraph or character position.
519
  * Override ad positions on individual posts using &lt;!--topad--&gt; &lt;!--randomad--&gt; &lt;!--bottomad--&gt;
520
  * Separate old post restriction for widget ads.
704
 
705
  == Upgrade Notice ==
706
 
707
+ = 1.1.0.4 =
708
  * First ad can now be started at or after a paragraph or character position. Position override tags. Separate old post restriction for widget ads. Template ad examples in the 'Test ads' section. Warning message improvements. Other fixes.
709
 
710
  = 1.1.0.2 =