Easy Plugin for AdSense - Version 5.23

Version Description

The above-header placement does not mess up the RSS feed now.

=

Download this release

Release Info

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

Code changes from version 5.22 to 5.23

Files changed (2) hide show
  1. easy-adsense-lite.php +4 -3
  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: 5.22
7
  Author: Manoj Thulasidas
8
  Author URI: http://www.thulasidas.com
9
  */
@@ -567,8 +567,9 @@ if (!class_exists("ezAdSense")) {
567
  // if it is an admin page, don't show ads
568
  if (is_admin()) return ;
569
  // there are issues with feeds as well
570
- if (is_feed()) return ;
571
- // This is sad: Need to reconstruct $this->leadin
 
572
  $mThemeName = get_option('stylesheet') ;
573
  $mOptions = "ezAdSense" . $mThemeName ;
574
  $ezAdOptions = get_option($mOptions);
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: 5.23
7
  Author: Manoj Thulasidas
8
  Author URI: http://www.thulasidas.com
9
  */
567
  // if it is an admin page, don't show ads
568
  if (is_admin()) return ;
569
  // there are issues with feeds as well
570
+ // is_feed() is not ready, because the WP query hasn't been run yet.
571
+ if (strpos($_SERVER['REQUEST_URI'], 'feed') !== false) return ;
572
+ // This is sad: Need to pre-construct $this->leadin
573
  $mThemeName = get_option('stylesheet') ;
574
  $mOptions = "ezAdSense" . $mThemeName ;
575
  $ezAdOptions = get_option($mOptions);
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: 5.22
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
- Adding a user support link on the admin page.
36
 
37
  == Upgrade Notice ==
38
 
39
- = 5.22 =
40
 
41
- Adding a user support link on the admin page.
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
  * V5.22: Adding a user support link on the admin page. [Oct 5, 2012]
130
  * V5.21: Minor bug fix. [Sep 24, 2012]
131
  * V5.20: Admin interface modifications. Updating some translations. [Sep 21, 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: 5.23
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
+ The above-header placement does not mess up the RSS feed now.
36
 
37
  == Upgrade Notice ==
38
 
39
+ = 5.23 =
40
 
41
+ The above-header placement does not mess up the RSS feed now.
42
 
43
  == Screenshots ==
44
 
126
 
127
  == Change Log ==
128
 
129
+ * V5.23: The above-header placement does not mess up the RSS feed now. [Oct 27, 2012]
130
  * V5.22: Adding a user support link on the admin page. [Oct 5, 2012]
131
  * V5.21: Minor bug fix. [Sep 24, 2012]
132
  * V5.20: Admin interface modifications. Updating some translations. [Sep 21, 2012]