AdSense Plugin WP QUADS - Version 1.8.1

Version Description

  • New: Allow to show widget ads on homepage but disable all content ads
  • Fix: Widget ads are not counted correctly if the settings were saved incomplete
Download this release

Release Info

Developer ReneHermi
Plugin Icon 128x128 AdSense Plugin WP QUADS
Version 1.8.1
Comparing to
See all releases

Code changes from version 1.8.0 to 1.8.1

includes/admin/admin-notices.php CHANGED
@@ -16,7 +16,7 @@ if (!defined('ABSPATH'))
16
  * Admin Messages
17
  *
18
  * @since 2.2.3
19
- * @global $mashsb_options Array of all the MASHSB Options
20
  * @return void
21
  */
22
  function quads_admin_messages() {
@@ -710,7 +710,7 @@ function quads_show_update_auto_ads() {
710
  }
711
 
712
  // admin notice after updating wp quads
713
- echo '<div class="quads-notice-gdpr update-nag" style="background-color: black;color: #87c131;padding: 20px;margin-top: 20px;border: 3px solid #87c131;">' . $message .
714
  '<p><a href="'.admin_url().'admin.php?page=quads-settings&quads-action=hide_auto_ads_notice" class="quads_hide_gdpr" title="I got it" style="text-decoration:none;color:white;">- I Understand! Do Not Show This Hint Again -</a></a>'.
715
  '</div>';
716
 
16
  * Admin Messages
17
  *
18
  * @since 2.2.3
19
+ * @global $mashsb_options Array of all the WP QUADS Options
20
  * @return void
21
  */
22
  function quads_admin_messages() {
710
  }
711
 
712
  // admin notice after updating wp quads
713
+ echo '<div class="quads-notice-gdpr update-nag" style="background-color: black;color: #87c131;padding: 20px;margin-top: 20px;border: 3px solid #87c131;display:block;">' . $message .
714
  '<p><a href="'.admin_url().'admin.php?page=quads-settings&quads-action=hide_auto_ads_notice" class="quads_hide_gdpr" title="I got it" style="text-decoration:none;color:white;">- I Understand! Do Not Show This Hint Again -</a></a>'.
715
  '</div>';
716
 
includes/admin/settings/register-settings.php CHANGED
@@ -1632,10 +1632,12 @@ function quads_ajax_add_ads(){
1632
  //wp_die($postCount);
1633
 
1634
  $count = isset($quads_options['ads']) ? count ($quads_options['ads']) + $postCount : 10 + $postCount;
 
1635
 
1636
  $args = array();
1637
  // subtract 10 widget ads
1638
- $args['id'] = $count-10;
 
1639
  $args['name'] = 'Ad ' . $args['id'];
1640
 
1641
  ob_start();
@@ -1652,6 +1654,24 @@ function quads_ajax_add_ads(){
1652
  }
1653
  add_action( 'wp_ajax_quads_ajax_add_ads', 'quads_ajax_add_ads' );
1654
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1655
  /**
1656
  * Count normal ads. Do not count widget ads
1657
  *
1632
  //wp_die($postCount);
1633
 
1634
  $count = isset($quads_options['ads']) ? count ($quads_options['ads']) + $postCount : 10 + $postCount;
1635
+
1636
 
1637
  $args = array();
1638
  // subtract 10 widget ads
1639
+ //$args['id'] = $count-10;
1640
+ $args['id'] = $count-getTotalWidgets();
1641
  $args['name'] = 'Ad ' . $args['id'];
1642
 
1643
  ob_start();
1654
  }
1655
  add_action( 'wp_ajax_quads_ajax_add_ads', 'quads_ajax_add_ads' );
1656
 
1657
+ /**
1658
+ * Get the total amount of widget ads
1659
+ * @global $quads_options $quads_options
1660
+ * @return int
1661
+ */
1662
+ function getTotalWidgets(){
1663
+ global $quads_options;
1664
+
1665
+ $i = 0;
1666
+
1667
+ foreach ($quads_options['ads'] as $key => $value){
1668
+ if (false !== strpos($key, 'widget')){
1669
+ $i++;
1670
+ }
1671
+ }
1672
+ return $i;
1673
+ }
1674
+
1675
  /**
1676
  * Count normal ads. Do not count widget ads
1677
  *
includes/conditions.php CHANGED
@@ -13,7 +13,7 @@
13
 
14
 
15
  /**
16
- * Determine if ads are visible
17
  *
18
  * @global arr $quads_options
19
  * @param string $content
@@ -64,6 +64,57 @@ function quads_ad_is_allowed( $content = null ) {
64
  // else
65
  return true;
66
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
 
68
 
69
  /**
13
 
14
 
15
  /**
16
+ * Global! Determine if ads are visible
17
  *
18
  * @global arr $quads_options
19
  * @param string $content
64
  // else
65
  return true;
66
  }
67
+ /**
68
+ * Global! Determine if widget ads are visible
69
+ *
70
+ * @global arr $quads_options
71
+ * @param string $content
72
+ * @since 0.9.4
73
+ * @return boolean true when ads are shown
74
+ */
75
+ function quads_widget_ad_is_allowed( $content = null ) {
76
+ global $quads_options;
77
+
78
+
79
+ // Never show ads in ajax calls
80
+ if ( isset($quads_options['is_ajax']) && (defined('DOING_AJAX') && DOING_AJAX) ||
81
+ (! empty( $_SERVER[ 'HTTP_X_REQUESTED_WITH' ] ) && strtolower( $_SERVER[ 'HTTP_X_REQUESTED_WITH' ]) == 'xmlhttprequest' )
82
+ )
83
+ {
84
+ /* it's an AJAX call */
85
+ return false;
86
+ }
87
+
88
+ $hide_ads = apply_filters('quads_hide_ads', false);
89
+
90
+ // User Roles check
91
+ if(!quads_user_roles_permission()){
92
+ return false;
93
+ }
94
+
95
+ // Frontpage check
96
+ if (is_front_page() && isset( $quads_options['visibility']['AppHome'] ) ){
97
+ return true;
98
+ }
99
+
100
+ if(
101
+ (is_feed()) ||
102
+ (is_search()) ||
103
+ (is_404() ) ||
104
+ (strpos( $content, '<!--NoAds-->' ) !== false) ||
105
+ (strpos( $content, '<!--OffAds-->' ) !== false) ||
106
+ (is_category() && !(isset( $quads_options['visibility']['AppCate'] ) ) ) ||
107
+ (is_archive() && !( isset( $quads_options['visibility']['AppArch'] ) ) ) ||
108
+ (is_tag() && !( isset( $quads_options['visibility']['AppTags'] ) ) ) ||
109
+ (!quads_post_type_allowed()) ||
110
+ (is_user_logged_in() && ( isset( $quads_options['visibility']['AppLogg'] ) ) ) ||
111
+ true === $hide_ads
112
+ ) {
113
+ return false;
114
+ }
115
+ // else
116
+ return true;
117
+ }
118
 
119
 
120
  /**
includes/widgets.php CHANGED
@@ -43,7 +43,6 @@ function quads_get_inline_widget_ad_style( $id ) {
43
  * @return void
44
  * @since 0.9.2
45
  */
46
- add_action( 'widgets_init', 'quads_register_widgets', 1 );
47
 
48
  function quads_register_widgets() {
49
  global $quads_options;
@@ -55,7 +54,7 @@ function quads_register_widgets() {
55
  }
56
  }
57
  }
58
-
59
 
60
 
61
 
@@ -98,7 +97,7 @@ class quads_widgets_1 extends WP_Widget {
98
  extract( $args );
99
 
100
  $cont = quads_post_settings_to_quicktags( get_the_content() );
101
- if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_ad_is_allowed() && !quads_hide_ad_widget_on_homepage() ) {
102
 
103
  //quads_set_ad_count_widget();
104
  //$codetxt = $quads_options['ad' . $this->adsID . '_widget'];
@@ -149,8 +148,8 @@ class quads_widgets_2 extends WP_Widget {
149
  extract( $args );
150
 
151
  $cont = quads_post_settings_to_quicktags( get_the_content() );
152
- //if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_ad_is_allowed() && !quads_ad_reach_max_count() ) {
153
- if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_ad_is_allowed() && !quads_hide_ad_widget_on_homepage() ) {
154
 
155
  //quads_set_ad_count_widget();
156
  $code = quads_render_ad( 'ad' . $this->adsID . '_widget', $quads_options['ads']['ad' . $this->adsID . '_widget']['code'] );
@@ -198,7 +197,7 @@ class quads_widgets_3 extends WP_Widget {
198
  }
199
  extract( $args );
200
  $cont = quads_post_settings_to_quicktags( get_the_content() );
201
- if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_ad_is_allowed() && !quads_hide_ad_widget_on_homepage() ) {
202
 
203
  //quads_set_ad_count_widget();
204
  $code = quads_render_ad( 'ad' . $this->adsID . '_widget', $quads_options['ads']['ad' . $this->adsID . '_widget']['code'] );
@@ -247,7 +246,7 @@ class quads_widgets_4 extends WP_Widget {
247
 
248
  extract( $args );
249
  $cont = quads_post_settings_to_quicktags( get_the_content() );
250
- if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_ad_is_allowed() && !quads_hide_ad_widget_on_homepage() ) {
251
 
252
  //quads_set_ad_count_widget();
253
  $code = quads_render_ad( 'ad' . $this->adsID . '_widget', $quads_options['ads']['ad' . $this->adsID . '_widget']['code'] );
@@ -295,7 +294,7 @@ class quads_widgets_5 extends WP_Widget {
295
  }
296
  extract( $args );
297
  $cont = quads_post_settings_to_quicktags( get_the_content() );
298
- if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_ad_is_allowed() && !quads_hide_ad_widget_on_homepage() ) {
299
 
300
  //quads_set_ad_count_widget();
301
  $code = quads_render_ad( 'ad' . $this->adsID . '_widget', $quads_options['ads']['ad' . $this->adsID . '_widget']['code'] );
@@ -344,7 +343,7 @@ class quads_widgets_6 extends WP_Widget {
344
 
345
  extract( $args );
346
  $cont = quads_post_settings_to_quicktags( get_the_content() );
347
- if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_ad_is_allowed() && !quads_hide_ad_widget_on_homepage() ) {
348
 
349
  //quads_set_ad_count_widget();
350
  $code = quads_render_ad( 'ad' . $this->adsID . '_widget', $quads_options['ads']['ad' . $this->adsID . '_widget']['code'] );
@@ -393,7 +392,7 @@ class quads_widgets_7 extends WP_Widget {
393
 
394
  extract( $args );
395
  $cont = quads_post_settings_to_quicktags( get_the_content() );
396
- if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_ad_is_allowed() && !quads_hide_ad_widget_on_homepage() ) {
397
 
398
  //quads_set_ad_count_widget();
399
  $code = quads_render_ad( 'ad' . $this->adsID . '_widget', $quads_options['ads']['ad' . $this->adsID . '_widget']['code'] );
@@ -442,7 +441,7 @@ class quads_widgets_8 extends WP_Widget {
442
 
443
  extract( $args );
444
  $cont = quads_post_settings_to_quicktags( get_the_content() );
445
- if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_ad_is_allowed() && !quads_hide_ad_widget_on_homepage() ) {
446
 
447
  //quads_set_ad_count_widget();
448
  $code = quads_render_ad( 'ad' . $this->adsID . '_widget', $quads_options['ads']['ad' . $this->adsID . '_widget']['code'] );
@@ -491,7 +490,7 @@ class quads_widgets_9 extends WP_Widget {
491
 
492
  extract( $args );
493
  $cont = quads_post_settings_to_quicktags( get_the_content() );
494
- if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_ad_is_allowed() && !quads_hide_ad_widget_on_homepage() ) {
495
 
496
  //quads_set_ad_count_widget();
497
  $code = quads_render_ad( 'ad' . $this->adsID . '_widget', $quads_options['ads']['ad' . $this->adsID . '_widget']['code'] );
@@ -540,7 +539,7 @@ class quads_widgets_10 extends WP_Widget {
540
 
541
  extract( $args );
542
  $cont = quads_post_settings_to_quicktags( get_the_content() );
543
- if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_ad_is_allowed() && !quads_hide_ad_widget_on_homepage()) {
544
 
545
  //quads_set_ad_count_widget();
546
  $code = quads_render_ad( 'ad' . $this->adsID . '_widget', $quads_options['ads']['ad' . $this->adsID . '_widget']['code'] );
43
  * @return void
44
  * @since 0.9.2
45
  */
 
46
 
47
  function quads_register_widgets() {
48
  global $quads_options;
54
  }
55
  }
56
  }
57
+ add_action( 'widgets_init', 'quads_register_widgets', 1 );
58
 
59
 
60
 
97
  extract( $args );
98
 
99
  $cont = quads_post_settings_to_quicktags( get_the_content() );
100
+ if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_widget_ad_is_allowed() && !quads_hide_ad_widget_on_homepage() ) {
101
 
102
  //quads_set_ad_count_widget();
103
  //$codetxt = $quads_options['ad' . $this->adsID . '_widget'];
148
  extract( $args );
149
 
150
  $cont = quads_post_settings_to_quicktags( get_the_content() );
151
+ //if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_widget_ad_is_allowed() && !quads_ad_reach_max_count() ) {
152
+ if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_widget_ad_is_allowed() && !quads_hide_ad_widget_on_homepage() ) {
153
 
154
  //quads_set_ad_count_widget();
155
  $code = quads_render_ad( 'ad' . $this->adsID . '_widget', $quads_options['ads']['ad' . $this->adsID . '_widget']['code'] );
197
  }
198
  extract( $args );
199
  $cont = quads_post_settings_to_quicktags( get_the_content() );
200
+ if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_widget_ad_is_allowed() && !quads_hide_ad_widget_on_homepage() ) {
201
 
202
  //quads_set_ad_count_widget();
203
  $code = quads_render_ad( 'ad' . $this->adsID . '_widget', $quads_options['ads']['ad' . $this->adsID . '_widget']['code'] );
246
 
247
  extract( $args );
248
  $cont = quads_post_settings_to_quicktags( get_the_content() );
249
+ if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_widget_ad_is_allowed() && !quads_hide_ad_widget_on_homepage() ) {
250
 
251
  //quads_set_ad_count_widget();
252
  $code = quads_render_ad( 'ad' . $this->adsID . '_widget', $quads_options['ads']['ad' . $this->adsID . '_widget']['code'] );
294
  }
295
  extract( $args );
296
  $cont = quads_post_settings_to_quicktags( get_the_content() );
297
+ if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_widget_ad_is_allowed() && !quads_hide_ad_widget_on_homepage() ) {
298
 
299
  //quads_set_ad_count_widget();
300
  $code = quads_render_ad( 'ad' . $this->adsID . '_widget', $quads_options['ads']['ad' . $this->adsID . '_widget']['code'] );
343
 
344
  extract( $args );
345
  $cont = quads_post_settings_to_quicktags( get_the_content() );
346
+ if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_widget_ad_is_allowed() && !quads_hide_ad_widget_on_homepage() ) {
347
 
348
  //quads_set_ad_count_widget();
349
  $code = quads_render_ad( 'ad' . $this->adsID . '_widget', $quads_options['ads']['ad' . $this->adsID . '_widget']['code'] );
392
 
393
  extract( $args );
394
  $cont = quads_post_settings_to_quicktags( get_the_content() );
395
+ if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_widget_ad_is_allowed() && !quads_hide_ad_widget_on_homepage() ) {
396
 
397
  //quads_set_ad_count_widget();
398
  $code = quads_render_ad( 'ad' . $this->adsID . '_widget', $quads_options['ads']['ad' . $this->adsID . '_widget']['code'] );
441
 
442
  extract( $args );
443
  $cont = quads_post_settings_to_quicktags( get_the_content() );
444
+ if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_widget_ad_is_allowed() && !quads_hide_ad_widget_on_homepage() ) {
445
 
446
  //quads_set_ad_count_widget();
447
  $code = quads_render_ad( 'ad' . $this->adsID . '_widget', $quads_options['ads']['ad' . $this->adsID . '_widget']['code'] );
490
 
491
  extract( $args );
492
  $cont = quads_post_settings_to_quicktags( get_the_content() );
493
+ if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_widget_ad_is_allowed() && !quads_hide_ad_widget_on_homepage() ) {
494
 
495
  //quads_set_ad_count_widget();
496
  $code = quads_render_ad( 'ad' . $this->adsID . '_widget', $quads_options['ads']['ad' . $this->adsID . '_widget']['code'] );
539
 
540
  extract( $args );
541
  $cont = quads_post_settings_to_quicktags( get_the_content() );
542
+ if( strpos( $cont, "<!--OffAds-->" ) === false && strpos( $cont, "<!--OffWidget-->" ) === false && quads_widget_ad_is_allowed() && !quads_hide_ad_widget_on_homepage()) {
543
 
544
  //quads_set_ad_count_widget();
545
  $code = quads_render_ad( 'ad' . $this->adsID . '_widget', $quads_options['ads']['ad' . $this->adsID . '_widget']['code'] );
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: Rene Hermenau, WP-Staging
8
  * Author URI: https://wordpress.org/plugins/quick-adsense-reloaded/
9
- * Version: 1.8.0
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', '1.8.0' );
42
  }
43
 
44
  // Plugin name
6
  * Description: Insert Google AdSense and other ad formats fully automatic into your website
7
  * Author: Rene Hermenau, WP-Staging
8
  * Author URI: https://wordpress.org/plugins/quick-adsense-reloaded/
9
+ * Version: 1.8.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', '1.8.1' );
42
  }
43
 
44
  // Plugin name
readme.txt CHANGED
@@ -10,7 +10,7 @@ Tags: adsense, ads, ad, google adsense, advertising, amp, ad injection, ad inser
10
  Requires at least: 3.6+
11
  Tested up to: 4.9
12
  Requires PHP: 5.3
13
- Stable tag: 1.8.0
14
 
15
  Quick Adsense Reloaded! Quickest way to insert Google AdSense & other ads into your website. Google AdSense integration with Google AMP support
16
 
@@ -130,6 +130,10 @@ Alternative Installation:
130
 
131
  == Changelog ==
132
 
 
 
 
 
133
  = 1.8.0 =
134
  * Fix: If post has more than 10 blockquotes the resulting blockquote order will be wrong
135
 
@@ -157,121 +161,6 @@ Alternative Installation:
157
  * Tweak: Show notice if WP QUADS Pro license has been expired but make sure that the pro plugin does not stop working
158
  * Tweak: Better ad blocker notice
159
 
160
- = 1.7.6 =
161
- * Fix: remove debug vars
162
-
163
- = 1.7.5 =
164
- * Fix: Disable ads on infinite scrolling pages
165
- * Fix: Condition ad before last paragraph is not workingFix: Disable ads on infinite scrolling pages
166
- * Fix: Do not inject ads into blockquote elements
167
- * Fix: ads.txt not writeable admin notice is showing incorrect google adsense publisherId
168
- * Fix: WP QUADS Pro not working if valid license key expired
169
- * Tweak: Rename ADSENSE CODE to Ad Code
170
- * Tweak: default load priority is 10
171
-
172
- = 1.7.4 =
173
- * New: Option to explicetely allow wp quads to create the ads.txt
174
- * Fix: Invalid arguments and several thrown errors when no ads are defined
175
- * Fix: Can not use vi if wordpress is installed in sub directory
176
-
177
- = 1.7.3 =
178
- * New: Support for multiple google AdSense publisher accounts in ads.txt
179
- * Fix: Remove duplicate html id elements
180
- * Fix: Add error handler for vi api
181
-
182
- = 1.7.2 =
183
- * New: Add Home Page condition for vi
184
- * New: Add margin option for vi video ad
185
- * Fix: Remove undefined var notice
186
- * Fix: Remove debugging output
187
- * Fix: vi login sometimes not automatically redirect
188
- * Fix: use correct default values for vi settings if they are empty
189
- * Fix: Use correct tier2 iab category depending on tier1 selection
190
- * Fix: missing comma in ads.txt google adsense entry
191
- * Fix: Do not show vi ad on feed, 404, category, archive and search pages
192
- * Fix: Missing excerpt and content on category and archiv pages
193
- * Fix: vi font Size default value can be empty
194
- * Fix: Do not show vi ads when user is logged out of vi
195
- * Tweak: Remove validate ad settings button
196
- * Tweak: Remove not necessary admin notices
197
-
198
- = 1.7.1 =
199
- * Fix: adsense ads are not shown after activation of vi because of incomplete ads.txt
200
-
201
- = 1.7.0 =
202
- * New: VI Integration
203
- * New: Compatible up to WP 4.9
204
-
205
- = 1.6.2 =
206
- * New: Make ajax condition activateable
207
-
208
- = 1.6.1 =
209
- * Fix: Never show ads on ajax generated pages
210
- * New: Filter to ignore display conditions for short code generated ads
211
- * New: Announcement for the integration of the video SSP vi.ai
212
-
213
- = 1.6.0 =
214
- * Fix: Remove empty div after adsense ads
215
- * Fix: Margin and alignment option not working for widget ads
216
- * New: Add id on select elements
217
-
218
- = 1.5.8 / 1.5.9=
219
- * Fix: Not more than 10 adsense ads at the same time possible
220
-
221
- = 1.5.7 =
222
- * Tweak: Remove external empty quads.css file
223
- * Tweak: Better wordings for ad blocker notice
224
- * Tweak: Make code more robust
225
- * Tweak: Simpler notice for renewing license keys
226
- * Tweak: Change admin bar warning color from red to a more suitable orange
227
- * Fix: Remove jQuery frontpage check
228
- * Fix: Rating notice not hiding
229
-
230
- = 1.5.6 =
231
- * Fix: License tab not shown after update of WP QUADS to version 1.5.5 and WP QUADS PRO is lower than version 1.3.3
232
- * Fix: Quicktags button in editor not shown
233
- * Fix: Margin option not working when ad layout floating option is default
234
-
235
- = 1.5.5 =
236
- * Fix: No ad position visible after new installation
237
- * Fix: Show Add new Ad button only when wp quads pro is installed
238
-
239
- = 1.5.4 =
240
- * Fix: Hide widget on homepage option not working
241
- * Tweak: Change default value of ad limitation to unlimited ads
242
- * Tweak: Clean up code
243
-
244
- = 1.5.3 =
245
- * New: Unlimited amount of ads can be used with WP QUADS PRO
246
- * Tweak: Move debug setting to tab plugin settings
247
- * Fix: Security Update! If you are using WP QUADS Pro you need to update WP QUADS Pro to version 1.3.6.
248
- * Fix: If page or post is used as frontpage the home page condition is ignored
249
- * Fix: Better sanitization - remove all whitespaces in settings
250
- * Fix: Ads are not shown on tablet device if mobile device visibility is disabled
251
-
252
- = 1.5.2 =
253
- * Tweak: Make sure that for AdSense ads only the AdSense ad option is used and not the plain text one
254
- * Fix: Spelling issue
255
-
256
- = 1.5.1 =
257
- * Tweak: Change description in readme.txt
258
- * Fix: Show only active and not empty widgets in widget admin section of wordpress
259
-
260
- = 1.5.0 =
261
- * Fix: PHP7 compatibility fixes
262
- * Fix: Check if element wpquads-adblock-notice exists before accessing it
263
- * Fix: Remove deprecated functions
264
-
265
- = 1.4.9 =
266
- * Fix: Adblock plugin is breaking wp quads admin settings. Create a admin notice to deactivate ad blocker browser extension
267
- * Tweak: Remove 'Get WP QUADS Pro' button if wp quads pro is already installed
268
-
269
- = 1.4.8 =
270
- * New: Ability to rename adsense ads to better identify them
271
- * New: Allow unlimited number of adsense ads on a single page
272
- * New: Tested up to WP 4.7.3
273
- * Tweak: Rename adsense widgets
274
-
275
  Complete changelog: https://wpquads.com/changelog
276
 
277
  == Upgrade Notice ==
10
  Requires at least: 3.6+
11
  Tested up to: 4.9
12
  Requires PHP: 5.3
13
+ Stable tag: 1.8.1
14
 
15
  Quick Adsense Reloaded! Quickest way to insert Google AdSense & other ads into your website. Google AdSense integration with Google AMP support
16
 
130
 
131
  == Changelog ==
132
 
133
+ = 1.8.1 =
134
+ * New: Allow to show widget ads on homepage but disable all content ads
135
+ * Fix: Widget ads are not counted correctly if the settings were saved incomplete
136
+
137
  = 1.8.0 =
138
  * Fix: If post has more than 10 blockquotes the resulting blockquote order will be wrong
139
 
161
  * Tweak: Show notice if WP QUADS Pro license has been expired but make sure that the pro plugin does not stop working
162
  * Tweak: Better ad blocker notice
163
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
164
  Complete changelog: https://wpquads.com/changelog
165
 
166
  == Upgrade Notice ==