AdSense Plugin WP QUADS - Version 2.0.25.2

Version Description

(14th April 2021) = * Fix: Fixed warning msg after update 2.0.25.1 #347

Download this release

Release Info

Developer wpquads
Plugin Icon 128x128 AdSense Plugin WP QUADS
Version 2.0.25.2
Comparing to
See all releases

Code changes from version 2.0.25.1 to 2.0.25.2

includes/conditions.php CHANGED
@@ -308,11 +308,11 @@ function quads_is_visitor_on($ads){
308
  $exclude = array();
309
  $response = false;
310
 
311
- $visibility_include = isset($ads['targeting_include']) ? $ads['targeting_include'] : '';
312
 
313
- $visibility_exclude = isset($ads['targeting_exclude']) ? $ads['targeting_exclude'] : '';
314
- $check_condition_include = array_column($ads['targeting_include'], 'condition');
315
- $check_condition_exclude = array_column($ads['targeting_exclude'], 'condition');
316
 
317
  if((is_array($check_condition_include) && !empty($check_condition_include)) || (is_array($check_condition_exclude) && !empty($check_condition_exclude))){
318
 
@@ -405,10 +405,10 @@ function quads_is_visibility_on($ads){
405
  $include = array();
406
  $exclude = array();
407
  $response = false;
408
- $visibility_include = isset($ads['visibility_include']) ? $ads['visibility_include'] : '';
409
- $visibility_exclude = isset($ads['visibility_exclude']) ? $ads['visibility_exclude'] : '';
410
- $check_condition_include = array_column($ads['visibility_include'], 'condition');
411
- $check_condition_exclude = array_column($ads['visibility_exclude'], 'condition');
412
 
413
  if((is_array($check_condition_include) && !empty($check_condition_include)) || (is_array($check_condition_exclude) && !empty($check_condition_exclude))){
414
 
308
  $exclude = array();
309
  $response = false;
310
 
311
+ $visibility_include = isset($ads['targeting_include']) ? $ads['targeting_include'] : array();
312
 
313
+ $visibility_exclude = isset($ads['targeting_exclude']) ? $ads['targeting_exclude'] : array();
314
+ $check_condition_include = array_column($visibility_include, 'condition');
315
+ $check_condition_exclude = array_column($visibility_exclude, 'condition');
316
 
317
  if((is_array($check_condition_include) && !empty($check_condition_include)) || (is_array($check_condition_exclude) && !empty($check_condition_exclude))){
318
 
405
  $include = array();
406
  $exclude = array();
407
  $response = false;
408
+ $visibility_include = isset($ads['visibility_include']) ? $ads['visibility_include'] : array();
409
+ $visibility_exclude = isset($ads['visibility_exclude']) ? $ads['visibility_exclude'] : array();
410
+ $check_condition_include = array_column($visibility_include, 'condition');
411
+ $check_condition_exclude = array_column($visibility_exclude, 'condition');
412
 
413
  if((is_array($check_condition_include) && !empty($check_condition_include)) || (is_array($check_condition_exclude) && !empty($check_condition_exclude))){
414
 
quick-adsense-reloaded.php CHANGED
@@ -6,7 +6,7 @@
6
  * Description: Insert Google AdSense and other ad formats fully automatic into your website
7
  * Author: WP Quads
8
  * Author URI: https://wordpress.org/plugins/quick-adsense-reloaded/
9
- * Version: 2.0.25.1
10
  * Text Domain: quick-adsense-reloaded
11
  * Domain Path: languages
12
  * Credits: WP QUADS - Quick AdSense Reloaded is a fork of Quick AdSense
@@ -38,7 +38,7 @@ if( !defined( 'ABSPATH' ) )
38
 
39
  // Plugin version
40
  if( !defined( 'QUADS_VERSION' ) ) {
41
- define( 'QUADS_VERSION', '2.0.25.1' );
42
  }
43
 
44
  // Plugin name
6
  * Description: Insert Google AdSense and other ad formats fully automatic into your website
7
  * Author: WP Quads
8
  * Author URI: https://wordpress.org/plugins/quick-adsense-reloaded/
9
+ * Version: 2.0.25.2
10
  * Text Domain: quick-adsense-reloaded
11
  * Domain Path: languages
12
  * Credits: WP QUADS - Quick AdSense Reloaded is a fork of Quick AdSense
38
 
39
  // Plugin version
40
  if( !defined( 'QUADS_VERSION' ) ) {
41
+ define( 'QUADS_VERSION', '2.0.25.2' );
42
  }
43
 
44
  // Plugin name
readme.txt CHANGED
@@ -10,7 +10,7 @@ Tags: ad manager, ads, adsense, amp, banner
10
  Requires at least: 3.6+
11
  Tested up to: 5.7
12
  Requires PHP: 5.3
13
- Stable tag: 2.0.25.1
14
 
15
  Ads & AdSense Ad Plugin is the quickest way to insert Google AdSense & other ads into your website. Google AdSense integration with Google AMP support.
16
 
@@ -196,6 +196,9 @@ Alternative Installation:
196
 
197
 
198
  == Changelog ==
 
 
 
199
  = 2.0.25.1 (14th April 2021) =
200
  * Fix: Old visibility condition not working after update. #346
201
 
10
  Requires at least: 3.6+
11
  Tested up to: 5.7
12
  Requires PHP: 5.3
13
+ Stable tag: 2.0.25.2
14
 
15
  Ads & AdSense Ad Plugin is the quickest way to insert Google AdSense & other ads into your website. Google AdSense integration with Google AMP support.
16
 
196
 
197
 
198
  == Changelog ==
199
+ = 2.0.25.2 (14th April 2021) =
200
+ * Fix: Fixed warning msg after update 2.0.25.1 #347
201
+
202
  = 2.0.25.1 (14th April 2021) =
203
  * Fix: Old visibility condition not working after update. #346
204