Ad Injection - Version 0.9.5.2

Version Description

New CSS padding options for widgets. Fixes for CSS margin options. Update docs for due to new mfunc support in WP Super Cache. If you are using mfunc mode and upgrade to the latest version of WP Super Cache (0.9.9.8) you can now use the faster mod_rewrite mode or PHP mode instead of legacy mode.

Download this release

Release Info

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

Code changes from version 0.9.5.1 to 0.9.5.2

Files changed (3) hide show
  1. ad-injection-admin.php +0 -28
  2. ad-injection.php +1 -1
  3. readme.txt +9 -1
ad-injection-admin.php CHANGED
@@ -1148,34 +1148,6 @@ function adinj_debug_information(){
1148
  }
1149
  echo '</table>';
1150
 
1151
- ?><h4>Widget settings dump from database (all in 'widget_adinj' option)</h4>
1152
- <table border="1" style="width:610px; word-wrap:break-word;">
1153
- <tr><td><b>Widget</b></td><td><b>Setting:Value</b></td></tr>
1154
- <?php
1155
- //<td><b>Value</b></td>
1156
- $widgetops = get_option('widget_adinj');
1157
- $count = 0;
1158
- foreach($widgetops as $key=>$val){
1159
- if ($count % 2 == 0){
1160
- echo '<tr style="background-color:#cccccc"><td style="vertical-align:top">';
1161
- } else {
1162
- echo '<tr><td style="vertical-align:top">';
1163
- }
1164
- echo $key;
1165
- echo "</td>";
1166
- echo '<td style="vertical-align:top">';
1167
- if (is_array($val)){
1168
- foreach($val as $subkey=>$subval){
1169
- echo $subkey.':'.htmlentities($subval).'<br />';
1170
- }
1171
- } else {
1172
- echo htmlentities($val);
1173
- }
1174
- echo '</td></tr>';
1175
- ++$count;
1176
- }
1177
- echo '</table>';
1178
-
1179
  echo '<h4>Other settings</h4><blockquote>';
1180
 
1181
  echo 'ADINJ_PATH='.ADINJ_PATH.'<br />';
1148
  }
1149
  echo '</table>';
1150
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1151
  echo '<h4>Other settings</h4><blockquote>';
1152
 
1153
  echo 'ADINJ_PATH='.ADINJ_PATH.'<br />';
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.5.1
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.5.2
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, blog
5
  Requires at least: 2.8.6
6
  Tested up to: 3.1
7
- Stable tag: 0.9.5.1
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
 
@@ -232,6 +232,10 @@ If you do get any errors please use the 'Report a bug or give feedback' link on
232
 
233
  == Changelog ==
234
 
 
 
 
 
235
  = 0.9.5.1 =
236
  New CSS padding options for widgets. Fixes for CSS margin options.
237
  Update docs for due to new mfunc support in WP Super Cache. If you are using mfunc mode and upgrade to the latest version of WP Super Cache (0.9.9.8) you can now use the faster mod_rewrite mode or PHP mode instead of legacy mode.
@@ -324,6 +328,10 @@ Fix 'Something badly wrong in num_rand_ads_to_insert' message that occurs on pag
324
 
325
  == Upgrade Notice ==
326
 
 
 
 
 
327
  = 0.9.5.1 =
328
  New CSS padding options for widgets. Fixes for CSS margin options.
329
  If you are using WP Super Cache 0.9.9.8 you can now switch to its faster mod_rewrite or PHP modes.
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, blog
5
  Requires at least: 2.8.6
6
  Tested up to: 3.1
7
+ Stable tag: 0.9.5.2
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
 
232
 
233
  == Changelog ==
234
 
235
+ = 0.9.5.2 =
236
+ New CSS padding options for widgets. Fixes for CSS margin options.
237
+ Update docs for due to new mfunc support in WP Super Cache. If you are using mfunc mode and upgrade to the latest version of WP Super Cache (0.9.9.8) you can now use the faster mod_rewrite mode or PHP mode instead of legacy mode.
238
+
239
  = 0.9.5.1 =
240
  New CSS padding options for widgets. Fixes for CSS margin options.
241
  Update docs for due to new mfunc support in WP Super Cache. If you are using mfunc mode and upgrade to the latest version of WP Super Cache (0.9.9.8) you can now use the faster mod_rewrite mode or PHP mode instead of legacy mode.
328
 
329
  == Upgrade Notice ==
330
 
331
+ = 0.9.5.2 =
332
+ New CSS padding options for widgets. Fixes for CSS margin options.
333
+ If you are using WP Super Cache 0.9.9.8 you can now switch to its faster mod_rewrite or PHP modes.
334
+
335
  = 0.9.5.1 =
336
  New CSS padding options for widgets. Fixes for CSS margin options.
337
  If you are using WP Super Cache 0.9.9.8 you can now switch to its faster mod_rewrite or PHP modes.