Version Description
Reverting back to the non-AJAX version of the plugin.
Download this release
Release Info
Developer | gsikka33 |
Plugin | Easy Plugin for AdSense |
Version | 8.40 |
Comparing to | |
See all releases |
Code changes from version 8.30 to 8.40
- easy-adsense-lite.php +2 -2
- readme.txt +1 -1
easy-adsense-lite.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: Easy Plugin for AdSense
|
5 |
Plugin URI: http://www.thulasidas.com/adsense
|
6 |
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 → Easy Plugin for AdSense</a>.
|
7 |
-
Version: 8.
|
8 |
Author: Manoj Thulasidas
|
9 |
Author URI: http://www.thulasidas.com
|
10 |
*/
|
@@ -86,7 +86,7 @@ if (!class_exists("EzAdSense")) {
|
|
86 |
update_option('easy_adsense_stats', $stats);
|
87 |
}
|
88 |
|
89 |
-
$day_passed =
|
90 |
$stats->expired = $day_passed > $this->stats->duration;
|
91 |
$stats->collecting = !$stats->expired && !$stats->admin_has_disabled;
|
92 |
}
|
4 |
Plugin Name: Easy Plugin for AdSense
|
5 |
Plugin URI: http://www.thulasidas.com/adsense
|
6 |
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 → Easy Plugin for AdSense</a>.
|
7 |
+
Version: 8.40
|
8 |
Author: Manoj Thulasidas
|
9 |
Author URI: http://www.thulasidas.com
|
10 |
*/
|
86 |
update_option('easy_adsense_stats', $stats);
|
87 |
}
|
88 |
|
89 |
+
$day_passed = (int) round( ((new DateTime)->format('U') - $stats->start_date->format('U')) / (60*60*24) );
|
90 |
$stats->expired = $day_passed > $this->stats->duration;
|
91 |
$stats->collecting = !$stats->expired && !$stats->admin_has_disabled;
|
92 |
}
|
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: 4.1
|
7 |
-
Stable tag: 8.
|
8 |
License: GPL2 or later
|
9 |
|
10 |
Easy Plugin for AdSense manages all aspects of AdSense: insert ads into posts and sidebar, and add a Google Search box. Easiest and most complete AdSense Plugin!
|
4 |
Tags: adsense, google adsense, ads, advertising, easy adsense, google, adsense plugin
|
5 |
Requires at least: 2.6
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 8.40
|
8 |
License: GPL2 or later
|
9 |
|
10 |
Easy Plugin for AdSense manages all aspects of AdSense: insert ads into posts and sidebar, and add a Google Search box. Easiest and most complete AdSense Plugin!
|