Ad Injection - Version 0.9.6.1

Version Description

Download this release

Release Info

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

Code changes from version 0.9.6 to 0.9.6.1

Files changed (3) hide show
  1. ad-injection-admin.php +2 -3
  2. ad-injection.php +1 -1
  3. readme.txt +1 -1
ad-injection-admin.php CHANGED
@@ -49,7 +49,6 @@ function adinj_save_options(){
49
 
50
  // Extract all know options
51
  $default_options = adinj_default_options();
52
- // TODO - should use default as baseline? This won't delete old ops?
53
  $ops = adinj_options();
54
  foreach ($default_options as $key => $value){
55
  if (isset($_POST[$key])){
@@ -342,9 +341,9 @@ function adinj_admin_tabs( $current = 0 ) {
342
  $links = array();
343
  foreach( $tabs as $tab => $name ) {
344
  if ( $current == $tab ) {
345
- $links[] = "<a class='nav-tab nav-tab-active' href='?page=ad-injection&nbsp;tab=$tab'>$name</a>";
346
  } else {
347
- $links[] = "<a class='nav-tab' href='?page=ad-injection&nbsp;tab=$tab'>$name</a>";
348
  }
349
  }
350
 
49
 
50
  // Extract all know options
51
  $default_options = adinj_default_options();
 
52
  $ops = adinj_options();
53
  foreach ($default_options as $key => $value){
54
  if (isset($_POST[$key])){
341
  $links = array();
342
  foreach( $tabs as $tab => $name ) {
343
  if ( $current == $tab ) {
344
+ $links[] = "<a class='nav-tab nav-tab-active' href='?page=ad-injection&amp;tab=$tab'>$name</a>";
345
  } else {
346
+ $links[] = "<a class='nav-tab' href='?page=ad-injection&amp;tab=$tab'>$name</a>";
347
  }
348
  }
349
 
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.6
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.6.1
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, ad rotation, A:B testing, split testing
5
  Requires at least: 2.8.6
6
  Tested up to: 3.1
7
- Stable tag: 0.9.6
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
 
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, ad rotation, A:B testing, split testing
5
  Requires at least: 2.8.6
6
  Tested up to: 3.1
7
+ Stable tag: 0.9.6.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