Ad Injection - Version 1.2.0.5

Version Description

  • Fix: Problem with adinjblocked cookie reading.
Download this release

Release Info

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

Code changes from version 1.2.0.4 to 1.2.0.5

Files changed (3) hide show
  1. ad-injection.php +1 -1
  2. adshow.php +1 -1
  3. readme.txt +7 -1
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.2.0.4
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.2.0.5
7
  Author: reviewmylife
8
  Author URI: http://www.reviewmylife.co.uk/
9
  License: GPLv2
adshow.php CHANGED
@@ -255,7 +255,7 @@ function adshow_show_adverts(){
255
 
256
  if ($_COOKIE["adinjblocked"]==1) {
257
  if (adinj_config_debug_mode()){ echo "<!--ADINJ DEBUG: no ads because adinjblocked cookie set-->\n"; }
258
- return true;
259
  }
260
 
261
  if (adinj_config_block_referrers() && adshow_blocked_referrer()) return "blocked_referrer";
255
 
256
  if ($_COOKIE["adinjblocked"]==1) {
257
  if (adinj_config_debug_mode()){ echo "<!--ADINJ DEBUG: no ads because adinjblocked cookie set-->\n"; }
258
+ return "blocked_referrer";
259
  }
260
 
261
  if (adinj_config_block_referrers() && adshow_blocked_referrer()) return "blocked_referrer";
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.2.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
 
@@ -587,6 +587,9 @@ If you do get any errors please use the 'Report a bug or give feedback' link on
587
 
588
  == Changelog ==
589
 
 
 
 
590
  = 1.2.0.4 =
591
  * New: Support for Ad Logger's AdSense click blocking feature (that is my new plugin!).
592
  * New: Make more parts of the ad placement settings UI fade away if they can't be used.
@@ -805,6 +808,9 @@ Fix 'Something badly wrong in num_rand_ads_to_insert' message that occurs on pag
805
 
806
  == Upgrade Notice ==
807
 
 
 
 
808
  = 1.2.0.4 =
809
  * New: Support for Ad Logger's AdSense click blocking feature (that is my new plugin!).
810
  * New: Make more parts of the ad placement settings UI fade away if they can't be used.
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.2.0.5
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
 
587
 
588
  == Changelog ==
589
 
590
+ = 1.2.0.5 =
591
+ * Fix: Problem with adinjblocked cookie reading.
592
+
593
  = 1.2.0.4 =
594
  * New: Support for Ad Logger's AdSense click blocking feature (that is my new plugin!).
595
  * New: Make more parts of the ad placement settings UI fade away if they can't be used.
808
 
809
  == Upgrade Notice ==
810
 
811
+ = 1.2.0.5 =
812
+ * Fix: Problem with adinjblocked cookie reading.
813
+
814
  = 1.2.0.4 =
815
  * New: Support for Ad Logger's AdSense click blocking feature (that is my new plugin!).
816
  * New: Make more parts of the ad placement settings UI fade away if they can't be used.