Quick Adsense - Version 2.8.5

Version Description

Download this release

Release Info

Developer namith.jawahar
Plugin Icon 128x128 Quick Adsense
Version 2.8.5
Comparing to
See all releases

Code changes from version 2.8.4 to 2.8.5

Files changed (3) hide show
  1. includes/controls.php +32 -28
  2. quick-adsense.php +1 -1
  3. readme.txt +1 -1
includes/controls.php CHANGED
@@ -120,34 +120,36 @@ function quick_adsense_get_value( $data, $field_name, $default = '' ) {
120
  */
121
  function quick_adsense_get_allowed_html() {
122
  $common_html_attributes = [
123
- 'id' => [],
124
- 'name' => [],
125
- 'class' => [],
126
- 'for' => [],
127
- 'href' => [],
128
- 'target' => [],
129
- 'rel' => [],
130
- 'title' => [],
131
- 'datetime' => [],
132
- 'style' => [],
133
- 'alt' => [],
134
- 'height' => [],
135
- 'src' => [],
136
- 'srcset' => [],
137
- 'width' => [],
138
- 'type' => [],
139
- 'value' => [],
140
- 'checked' => [],
141
- 'selected' => [],
142
- 'multiple' => [],
143
- 'data-index' => [],
144
- 'onclick' => [],
145
- 'async' => [],
146
- 'crossorigin' => [],
147
- 'action' => [],
148
- 'method' => [],
149
- 'content' => [],
150
- 'property' => [],
 
 
151
  ];
152
  $common_html_tags = [
153
  'a' => $common_html_attributes,
@@ -173,6 +175,7 @@ function quick_adsense_get_allowed_html() {
173
  'hr' => $common_html_attributes,
174
  'i' => $common_html_attributes,
175
  'img' => $common_html_attributes,
 
176
  'label' => $common_html_attributes,
177
  'link' => $common_html_attributes,
178
  'li' => $common_html_attributes,
@@ -185,6 +188,7 @@ function quick_adsense_get_allowed_html() {
185
  'strike' => $common_html_attributes,
186
  'strong' => $common_html_attributes,
187
  'script' => $common_html_attributes,
 
188
  'style' => $common_html_attributes,
189
  'input' => $common_html_attributes,
190
  'textarea' => $common_html_attributes,
120
  */
121
  function quick_adsense_get_allowed_html() {
122
  $common_html_attributes = [
123
+ 'id' => [],
124
+ 'name' => [],
125
+ 'class' => [],
126
+ 'for' => [],
127
+ 'href' => [],
128
+ 'target' => [],
129
+ 'rel' => [],
130
+ 'title' => [],
131
+ 'datetime' => [],
132
+ 'style' => [],
133
+ 'alt' => [],
134
+ 'height' => [],
135
+ 'src' => [],
136
+ 'srcset' => [],
137
+ 'width' => [],
138
+ 'type' => [],
139
+ 'value' => [],
140
+ 'checked' => [],
141
+ 'selected' => [],
142
+ 'multiple' => [],
143
+ 'data-index' => [],
144
+ 'onclick' => [],
145
+ 'async' => [],
146
+ 'crossorigin' => [],
147
+ 'action' => [],
148
+ 'method' => [],
149
+ 'content' => [],
150
+ 'property' => [],
151
+ 'data-ad-client' => [],
152
+ 'data-ad-slot' => [],
153
  ];
154
  $common_html_tags = [
155
  'a' => $common_html_attributes,
175
  'hr' => $common_html_attributes,
176
  'i' => $common_html_attributes,
177
  'img' => $common_html_attributes,
178
+ 'ins' => $common_html_attributes,
179
  'label' => $common_html_attributes,
180
  'link' => $common_html_attributes,
181
  'li' => $common_html_attributes,
188
  'strike' => $common_html_attributes,
189
  'strong' => $common_html_attributes,
190
  'script' => $common_html_attributes,
191
+ 'noscript' => $common_html_attributes,
192
  'style' => $common_html_attributes,
193
  'input' => $common_html_attributes,
194
  'textarea' => $common_html_attributes,
quick-adsense.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Quick Adsense offers a quicker & flexible way to insert Google Adsense or any Ads code into a blog post.
6
  * Author: namithjawahar
7
  * Author URI: https://smartlogix.co.in/
8
- * Version: 2.8.4
9
  */
10
  require_once dirname( __FILE__ ) . '/includes/loader.php';
11
  require_once dirname( __FILE__ ) . '/includes/countries.php';
5
  * Description: Quick Adsense offers a quicker & flexible way to insert Google Adsense or any Ads code into a blog post.
6
  * Author: namithjawahar
7
  * Author URI: https://smartlogix.co.in/
8
+ * Version: 2.8.5
9
  */
10
  require_once dirname( __FILE__ ) . '/includes/loader.php';
11
  require_once dirname( __FILE__ ) . '/includes/countries.php';
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: namithjawahar
3
  Tags: WordPress Plugin, adsense, google adsense, random adsense, random ads, advertising, adsense insertion, ad manager, ad, yahoo, google, ads, text insertion, widget, sidebar, admin, posts, plugin
4
  Requires at least: 5.0
5
  Tested up to: 5.9.2
6
- Stable tag: 2.8.4
7
 
8
  Quick Adsense offers a quicker & flexible way to insert Google Adsense or any Ads code into a blog post.
9
 
3
  Tags: WordPress Plugin, adsense, google adsense, random adsense, random ads, advertising, adsense insertion, ad manager, ad, yahoo, google, ads, text insertion, widget, sidebar, admin, posts, plugin
4
  Requires at least: 5.0
5
  Tested up to: 5.9.2
6
+ Stable tag: 2.8.5
7
 
8
  Quick Adsense offers a quicker & flexible way to insert Google Adsense or any Ads code into a blog post.
9