Version Description
- fixed AdSense Auto ads check in the Ad Health bar giving false positives
Download this release
Release Info
Developer | webzunft |
Plugin | Advanced Ads |
Version | 1.10.9 |
Comparing to | |
See all releases |
Code changes from version 1.10.8 to 1.10.9
- advanced-ads.php +2 -2
- classes/frontend_checks.php +1 -1
- readme.txt +5 -1
advanced-ads.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
* Plugin Name: Advanced Ads
|
13 |
* Plugin URI: https://wpadvancedads.com
|
14 |
* Description: Manage and optimize your ads in WordPress
|
15 |
-
* Version: 1.10.
|
16 |
* Author: Thomas Maier
|
17 |
* Author URI: https://wpadvancedads.com
|
18 |
* Text Domain: advanced-ads
|
@@ -39,7 +39,7 @@ define( 'ADVADS_BASE_DIR', dirname( ADVADS_BASE ) ); // directory of the plugin
|
|
39 |
// general and global slug, e.g. to store options in WP
|
40 |
define( 'ADVADS_SLUG', 'advanced-ads' );
|
41 |
define( 'ADVADS_URL', 'https://wpadvancedads.com/' );
|
42 |
-
define( 'ADVADS_VERSION', '1.10.
|
43 |
|
44 |
/*----------------------------------------------------------------------------*
|
45 |
* Autoloading, modules and functions
|
12 |
* Plugin Name: Advanced Ads
|
13 |
* Plugin URI: https://wpadvancedads.com
|
14 |
* Description: Manage and optimize your ads in WordPress
|
15 |
+
* Version: 1.10.9
|
16 |
* Author: Thomas Maier
|
17 |
* Author URI: https://wpadvancedads.com
|
18 |
* Text Domain: advanced-ads
|
39 |
// general and global slug, e.g. to store options in WP
|
40 |
define( 'ADVADS_SLUG', 'advanced-ads' );
|
41 |
define( 'ADVADS_URL', 'https://wpadvancedads.com/' );
|
42 |
+
define( 'ADVADS_VERSION', '1.10.9' );
|
43 |
|
44 |
/*----------------------------------------------------------------------------*
|
45 |
* Autoloading, modules and functions
|
classes/frontend_checks.php
CHANGED
@@ -574,7 +574,7 @@ class Advanced_Ads_Frontend_Checks {
|
|
574 |
// inform the user that AdSense Auto ads code was found
|
575 |
function advads_highlight_adsense_auto_ads(){
|
576 |
var auto_ads_pattern = /enable_page_level_ads: true/m
|
577 |
-
if (auto_ads_pattern.exec( jQuery('
|
578 |
var advads_autoads_code_link = document.querySelector( '#wp-admin-bar-advanced_ads_ad_health_auto_ads_found' );
|
579 |
advads_autoads_code_link.className = advads_autoads_code_link.className.replace( 'hidden', '' );
|
580 |
}
|
574 |
// inform the user that AdSense Auto ads code was found
|
575 |
function advads_highlight_adsense_auto_ads(){
|
576 |
var auto_ads_pattern = /enable_page_level_ads: true/m
|
577 |
+
if (auto_ads_pattern.exec( jQuery('head').text() ) ){
|
578 |
var advads_autoads_code_link = document.querySelector( '#wp-admin-bar-advanced_ads_ad_health_auto_ads_found' );
|
579 |
advads_autoads_code_link.className = advads_autoads_code_link.className.replace( 'hidden', '' );
|
580 |
}
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: ads, ad manager, ad widget, ad rotation, adsense, advertise, advertisement
|
|
5 |
Requires at least: 4.6
|
6 |
Tested up to: 4.9
|
7 |
Requires PHP: 5.4
|
8 |
-
Stable tag: 1.10.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -275,6 +275,10 @@ Yes. Advanced Ads is based on WordPress standards and therefore easily customiza
|
|
275 |
|
276 |
== Changelog ==
|
277 |
|
|
|
|
|
|
|
|
|
278 |
= 1.10.8 =
|
279 |
|
280 |
* show hint if Auto ads are enabled
|
5 |
Requires at least: 4.6
|
6 |
Tested up to: 4.9
|
7 |
Requires PHP: 5.4
|
8 |
+
Stable tag: 1.10.9
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
275 |
|
276 |
== Changelog ==
|
277 |
|
278 |
+
= 1.10.9 =
|
279 |
+
|
280 |
+
* fixed AdSense Auto ads check in the Ad Health bar giving false positives
|
281 |
+
|
282 |
= 1.10.8 =
|
283 |
|
284 |
* show hint if Auto ads are enabled
|