Easy Plugin for AdSense - Version 6.02

Version Description

Fixing the incompatibility with Jetpack.

=

Download this release

Release Info

Developer manojtd
Plugin Icon 128x128 Easy Plugin for AdSense
Version 6.02
Comparing to
See all releases

Code changes from version 6.01 to 6.02

Files changed (2) hide show
  1. easy-adsense-lite.php +3 -2
  2. readme.txt +5 -4
easy-adsense-lite.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Easy AdSense
4
  Plugin URI: http://www.thulasidas.com/adsense
5
  Description: Easiest way to show AdSense and make money from your blog. Configure it at <a href="options-general.php?page=easy-adsense-lite.php">Settings &rarr; Easy AdSense</a>.
6
- Version: 6.01
7
  Author: Manoj Thulasidas
8
  Author URI: http://www.thulasidas.com
9
  */
@@ -188,7 +188,7 @@ if (!class_exists("EzAdSense")) {
188
  else if (isset($_POST['english'])) {
189
  $this->locale = "en_US" ;
190
  $moFile = dirname(__FILE__) . '/lang/easy-adsenser.mo';
191
- global $l10n;
192
  $version = (float)get_bloginfo('version') ;
193
  if ($version < 2.80)
194
  $l10n['easy-adsenser']->cache_translations = array() ;
@@ -402,6 +402,7 @@ if (!class_exists("EzAdSense")) {
402
  }
403
 
404
  function ezAdSense_content($content) {
 
405
  if (!$this->options['allow_feeds'] && is_feed()) return $content ;
406
  if ($this->options['kill_pages'] && is_page()) return $content ;
407
  if ($this->options['kill_attach'] && is_attachment()) return $content ;
3
  Plugin Name: Easy AdSense
4
  Plugin URI: http://www.thulasidas.com/adsense
5
  Description: Easiest way to show AdSense and make money from your blog. Configure it at <a href="options-general.php?page=easy-adsense-lite.php">Settings &rarr; Easy AdSense</a>.
6
+ Version: 6.02
7
  Author: Manoj Thulasidas
8
  Author URI: http://www.thulasidas.com
9
  */
188
  else if (isset($_POST['english'])) {
189
  $this->locale = "en_US" ;
190
  $moFile = dirname(__FILE__) . '/lang/easy-adsenser.mo';
191
+ global $l10n;
192
  $version = (float)get_bloginfo('version') ;
193
  if ($version < 2.80)
194
  $l10n['easy-adsenser']->cache_translations = array() ;
402
  }
403
 
404
  function ezAdSense_content($content) {
405
+ if (!in_the_loop()) return $content ;
406
  if (!$this->options['allow_feeds'] && is_feed()) return $content ;
407
  if ($this->options['kill_pages'] && is_page()) return $content ;
408
  if ($this->options['kill_attach'] && is_attachment()) return $content ;
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://buy.thulasidas.com/easy-adsense
4
  Tags: adsense, google adsense, ads, advertising, easy adsense, google, adsense plugin
5
  Requires at least: 2.6
6
  Tested up to: 3.4
7
- Stable tag: 6.01
8
 
9
  Easy AdSense manages all aspects of AdSense: insert ads into posts and sidebar, and add a Google Search box. Easiest and most complete AdSense Plugin!
10
 
@@ -32,13 +32,13 @@ Easy AdSense is the freely distributed version of a premium plugin. The [Pro ver
32
 
33
  = New in this Release =
34
 
35
- Updating a few translations.
36
 
37
  == Upgrade Notice ==
38
 
39
- = 6.01 =
40
 
41
- Updating a few translations.
42
 
43
  == Screenshots ==
44
 
@@ -126,6 +126,7 @@ A big "Thank You" to all my translators. Easy AdSense V2.6+ sports an *Easy Tran
126
 
127
  == Change Log ==
128
 
 
129
  * V6.01: Updating a few translations. [Dec 5, 2012]
130
  * V6.00: Major re-organization of the code. [Nov 1, 2012]
131
  * V5.24: Fixing some warning notices. [Oct 27, 2012]
4
  Tags: adsense, google adsense, ads, advertising, easy adsense, google, adsense plugin
5
  Requires at least: 2.6
6
  Tested up to: 3.4
7
+ Stable tag: 6.02
8
 
9
  Easy AdSense manages all aspects of AdSense: insert ads into posts and sidebar, and add a Google Search box. Easiest and most complete AdSense Plugin!
10
 
32
 
33
  = New in this Release =
34
 
35
+ Fixing the incompatibility with Jetpack.
36
 
37
  == Upgrade Notice ==
38
 
39
+ = 6.02 =
40
 
41
+ Fixing the incompatibility with Jetpack.
42
 
43
  == Screenshots ==
44
 
126
 
127
  == Change Log ==
128
 
129
+ * V6.02: Fixing the incompatibility with Jetpack. [Dec 17, 2012]
130
  * V6.01: Updating a few translations. [Dec 5, 2012]
131
  * V6.00: Major re-organization of the code. [Nov 1, 2012]
132
  * V5.24: Fixing some warning notices. [Oct 27, 2012]