AdSense Plugin WP QUADS - Version 2.0.58.1

Version Description

( 20 August 2022 ) = * Fixed: Blank spaces created in BoomBox Theme

Download this release

Release Info

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

Code changes from version 2.0.58 to 2.0.58.1

Files changed (3) hide show
  1. includes/api.php +9 -7
  2. quick-adsense-reloaded.php +2 -2
  3. readme.txt +5 -1
includes/api.php CHANGED
@@ -154,13 +154,15 @@ function quads_ad( $args ) {
154
 
155
  // $location_settings = quads_get_ad_location_settings( $args['location'] );
156
  $location_settings['ad'] = $wp_quads_custom_ad_id["api-".$args['location'].""];
157
-
158
- $modify = str_replace("ad","",$location_settings['ad']);
159
- $location_settings['ad'] = $modify;
160
- $code .= "\n".'<!-- WP QUADS Custom Ad v. ' . QUADS_VERSION .' -->'."\n";
161
- $code .= '<div class="quads-location quads-ad' .esc_html($location_settings['ad']). '" id="quads-ad' .esc_html($location_settings['ad']). '" style="'. quads_get_inline_ad_style( $location_settings['ad'] ).'">'."\n";
162
- $code .= quads_render_ad( 'ad' . $location_settings['ad'], $quads_options['ads'][ 'ad' . $location_settings['ad'] ]['code'] );
163
- $code .= '</div>';
 
 
164
  }elseif ($quads_mode == 'new'){
165
 
166
  require_once QUADS_PLUGIN_DIR . '/admin/includes/rest-api-service.php';
154
 
155
  // $location_settings = quads_get_ad_location_settings( $args['location'] );
156
  $location_settings['ad'] = $wp_quads_custom_ad_id["api-".$args['location'].""];
157
+ if($location_settings['ad'])
158
+ {
159
+ $modify = str_replace("ad","",$location_settings['ad']);
160
+ $location_settings['ad'] = $modify;
161
+ $code .= "\n".'<!-- WP QUADS Custom Ad v. ' . QUADS_VERSION .' -->'."\n";
162
+ $code .= '<div class="quads-location quads-ad' .esc_html($location_settings['ad']). '" id="quads-ad' .esc_html($location_settings['ad']). '" style="'. quads_get_inline_ad_style( $location_settings['ad'] ).'">'."\n";
163
+ $code .= quads_render_ad( 'ad' . $location_settings['ad'], $quads_options['ads'][ 'ad' . $location_settings['ad'] ]['code'] );
164
+ $code .= '</div>';
165
+ }
166
  }elseif ($quads_mode == 'new'){
167
 
168
  require_once QUADS_PLUGIN_DIR . '/admin/includes/rest-api-service.php';
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.58
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.58' );
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.58.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
 
39
  // Plugin version
40
  if( !defined( 'QUADS_VERSION' ) ) {
41
+ define( 'QUADS_VERSION', '2.0.58.1' );
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: 6.0
12
  Requires PHP: 5.4
13
- Stable tag: 2.0.58
14
 
15
  Ads & AdSense Ad Plugin is the quickest way to insert Google AdSense & Banner ads on your site. Innovative features, Active Development & Fast Support.
16
 
@@ -206,6 +206,10 @@ Alternative Installation:
206
 
207
 
208
  == Changelog ==
 
 
 
 
209
  = 2.0.58 ( 18 August 2022 ) =
210
  * Fixed: Removing quad_cc from query string when cache plugin is present
211
 
10
  Requires at least: 3.6+
11
  Tested up to: 6.0
12
  Requires PHP: 5.4
13
+ Stable tag: 2.0.58.1
14
 
15
  Ads & AdSense Ad Plugin is the quickest way to insert Google AdSense & Banner ads on your site. Innovative features, Active Development & Fast Support.
16
 
206
 
207
 
208
  == Changelog ==
209
+
210
+ = 2.0.58.1 ( 20 August 2022 ) =
211
+ * Fixed: Blank spaces created in BoomBox Theme
212
+
213
  = 2.0.58 ( 18 August 2022 ) =
214
  * Fixed: Removing quad_cc from query string when cache plugin is present
215