Version Description
Download this release
Release Info
Developer | mutube |
Plugin | AdSense Manager |
Version | 4.0.2 |
Comparing to | |
See all releases |
Code changes from version 4.0.1 to 4.0.2
- adsense-manager.php +2 -2
- class-upgrade.php +5 -1
- readme.txt +2 -2
adsense-manager.php
CHANGED
@@ -4,10 +4,10 @@ Plugin Name: AdSense Manager
|
|
4 |
PLugin URI: http://wordpress.org/extend/plugins/adsense-manager/
|
5 |
Description: AdSense Manager lets you manage your ads from within WordPress. With support for AdSense, AdBrite and many more.
|
6 |
Author: Martin Fitzpatrick
|
7 |
-
Version: 4.0.
|
8 |
Author URI: http://www.mutube.com/
|
9 |
*/
|
10 |
-
@define("ADSENSEM_VERSION", "4.0.
|
11 |
|
12 |
@define("AM_BRAND_NAME", "AdSense Manager");
|
13 |
@define("AM_BRAND_DEFAULT_NETWORK", "AdSense");
|
4 |
PLugin URI: http://wordpress.org/extend/plugins/adsense-manager/
|
5 |
Description: AdSense Manager lets you manage your ads from within WordPress. With support for AdSense, AdBrite and many more.
|
6 |
Author: Martin Fitzpatrick
|
7 |
+
Version: 4.0.2
|
8 |
Author URI: http://www.mutube.com/
|
9 |
*/
|
10 |
+
@define("ADSENSEM_VERSION", "4.0.2");
|
11 |
|
12 |
@define("AM_BRAND_NAME", "AdSense Manager");
|
13 |
@define("AM_BRAND_DEFAULT_NETWORK", "AdSense");
|
class-upgrade.php
CHANGED
@@ -23,7 +23,11 @@ class adsensem_upgrade {
|
|
23 |
global $_adsensem;
|
24 |
|
25 |
foreach( $_adsensem['ads'] as $name=>$ad ){
|
26 |
-
$_adsensem['ads'][$name]
|
|
|
|
|
|
|
|
|
27 |
}
|
28 |
|
29 |
}
|
23 |
global $_adsensem;
|
24 |
|
25 |
foreach( $_adsensem['ads'] as $name=>$ad ){
|
26 |
+
if( get_class($_adsensem['ads'][$name]) !== 'stdClass') {
|
27 |
+
$_adsensem['ads'][$name]->p['html'] = $_adsensem['ads'][$name]->render_ad();
|
28 |
+
} else {
|
29 |
+
unset($_adsensem['ads'][$name]);
|
30 |
+
}
|
31 |
}
|
32 |
|
33 |
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: mutube
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=martin%2efitzpatrick%40gmail%2ecom&item_name=Donation%20to%20mutube%2ecom¤cy_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8
|
4 |
Tags: adsense, ad, link, referral, manage, widget, google, adbrite, cj, adpinion, shoppingads, ypn, widgetbucks
|
5 |
Requires at least: 3.0.0
|
6 |
-
Stable tag: 4.0.
|
7 |
|
8 |
AdSense Manager lets you manage your ads from within WordPress. With support for AdSense, AdBrite and many more.
|
9 |
|
@@ -13,7 +13,7 @@ AdSense Manager was replaced by [Advertising Manager](http://wordpress.org/exten
|
|
13 |
number of queries I have updated my most recent version of the plugin to work with the latest WordPress and released it here. Unfortunately, if you upgraded to Advertising Manager
|
14 |
you may need to reimport your ads.
|
15 |
|
16 |
-
AdSense Manager supports most Ad networks including [AdBrite](http://www.adbrite.com/mb/landing_both.php?spid=51549&afb=120x60-1-blue), [AdRoll](http://www.adroll.com/tag/wordpress?r=ZPERWFQF25BGNG5EDWYBUV) and plain old HTML code.
|
17 |
|
18 |
== Installation ==
|
19 |
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=martin%2efitzpatrick%40gmail%2ecom&item_name=Donation%20to%20mutube%2ecom¤cy_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8
|
4 |
Tags: adsense, ad, link, referral, manage, widget, google, adbrite, cj, adpinion, shoppingads, ypn, widgetbucks
|
5 |
Requires at least: 3.0.0
|
6 |
+
Stable tag: 4.0.2
|
7 |
|
8 |
AdSense Manager lets you manage your ads from within WordPress. With support for AdSense, AdBrite and many more.
|
9 |
|
13 |
number of queries I have updated my most recent version of the plugin to work with the latest WordPress and released it here. Unfortunately, if you upgraded to Advertising Manager
|
14 |
you may need to reimport your ads.
|
15 |
|
16 |
+
AdSense Manager supports most Ad networks including [AdBrite](http://www.adbrite.com/mb/landing_both.php?spid=51549&afb=120x60-1-blue), [AdRoll](http://www.adroll.com/tag/wordpress?r=ZPERWFQF25BGNG5EDWYBUV), [Project Wonderful](https://www.projectwonderful.com/?tag=12152) and plain old HTML code.
|
17 |
|
18 |
== Installation ==
|
19 |
|