Ad Injection - Version 0.9.3.4

Version Description

Clean up old settings restore block.

Download this release

Release Info

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

Code changes from version 0.9.3.3 to 0.9.3.4

Files changed (3) hide show
  1. ad-injection-admin.php +0 -15
  2. ad-injection.php +1 -1
  3. readme.txt +7 -1
ad-injection-admin.php CHANGED
@@ -992,21 +992,6 @@ function adinj_activate_hook() {
992
  adinj_write_config_file();
993
  }
994
  }
995
-
996
- // In case ads are saved on file and upgrading from first version on plugin
997
- // TODO maybe delete this in a few versions time?
998
- $random_file = ADINJ_AD_PATH.'/'.ADINJ_AD_RANDOM_FILE;
999
- $top_file = ADINJ_AD_PATH.'/'.ADINJ_AD_TOP_FILE;
1000
- $bottom_file = ADINJ_AD_PATH.'/'.ADINJ_AD_BOTTOM_FILE;
1001
- if (empty($pending_options['ad_code_random_1']) && file_exists($random_file)){
1002
- $pending_options['ad_code_random_1'] = read_ad_from_file($random_file);
1003
- }
1004
- if (empty($pending_options['ad_code_top_1']) && file_exists($top_file)){
1005
- $pending_options['ad_code_top_1'] = read_ad_from_file($top_file);
1006
- }
1007
- if (empty($pending_options['ad_code_bottom_1']) && file_exists($bottom_file)){
1008
- $pending_options['ad_code_bottom_1'] = read_ad_from_file($bottom_file);
1009
- }
1010
 
1011
  adinj_update_options($pending_options);
1012
  }
992
  adinj_write_config_file();
993
  }
994
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
995
 
996
  adinj_update_options($pending_options);
997
  }
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: 0.9.3.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: 0.9.3.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, monetize, monetise, banner, Amazon, ClickBank, TradeDoubler, Google, adBrite, post, WordPress, automatically, plugin, Adsense Injection, free
5
  Requires at least: 3.0.0
6
  Tested up to: 3.0.3
7
- Stable tag: 0.9.3.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
 
@@ -193,6 +193,9 @@ If you do get any errors please use the 'Report a bug or give feedback' link on
193
 
194
  == Changelog ==
195
 
 
 
 
196
  = 0.9.3.3 =
197
  Add a status box to make it easy to see what the main settings are.
198
 
@@ -247,6 +250,9 @@ Fix 'Something badly wrong in num_rand_ads_to_insert' message that occurs on pag
247
 
248
  == Upgrade Notice ==
249
 
 
 
 
250
  = 0.9.3.3 =
251
  If you are using mfunc mode and have added ad widgets with a version prior to 0.9.2 please re-save them to regenerate the ad files (fixed for upgrades from 0.9.2).
252
 
4
  Tags: ad injection, adsense, advert injection, advert, ad, injection, advertising, affiliate, inject, injection, insert, widget, monetize, monetise, banner, Amazon, ClickBank, TradeDoubler, Google, adBrite, post, WordPress, automatically, plugin, Adsense Injection, free
5
  Requires at least: 3.0.0
6
  Tested up to: 3.0.3
7
+ Stable tag: 0.9.3.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
 
193
 
194
  == Changelog ==
195
 
196
+ = 0.9.3.4 =
197
+ Clean up old settings restore block.
198
+
199
  = 0.9.3.3 =
200
  Add a status box to make it easy to see what the main settings are.
201
 
250
 
251
  == Upgrade Notice ==
252
 
253
+ = 0.9.3.4 =
254
+ If you are using mfunc mode and have added ad widgets with a version prior to 0.9.2 please re-save them to regenerate the ad files (fixed for upgrades from 0.9.2).
255
+
256
  = 0.9.3.3 =
257
  If you are using mfunc mode and have added ad widgets with a version prior to 0.9.2 please re-save them to regenerate the ad files (fixed for upgrades from 0.9.2).
258