Version Description
( 14 December 2022 ) = * Fixed: Warnings in Site Health #664
Download this release
Release Info
Developer | wpquads |
Plugin | AdSense Plugin WP QUADS |
Version | 2.0.65.1 |
Comparing to | |
See all releases |
Code changes from version 2.0.65 to 2.0.65.1
- includes/render-ad-functions.php +2 -6
- includes/template-functions.php +3 -7
- quick-adsense-reloaded.php +2 -2
- readme.txt +4 -1
includes/render-ad-functions.php
CHANGED
@@ -102,17 +102,13 @@ function quads_render_ad( $id, $string, $widget = false,$ampsupport='' ) {
|
|
102 |
// Return empty string
|
103 |
return '';
|
104 |
}
|
105 |
-
unset($_SESSION['tmp_quads_ads']);
|
106 |
function quads_api_services_render_cllbck()
|
107 |
{
|
108 |
// Global $quads_ads variable to reduce db calls #631
|
109 |
-
if(empty($_SESSION['tmp_quads_ads'])){
|
110 |
require_once QUADS_PLUGIN_DIR . '/admin/includes/rest-api-service.php';
|
111 |
-
// global $api_service, $quads_ads;
|
112 |
$api_service = new QUADS_Ad_Setup_Api_Service();
|
113 |
-
$
|
114 |
-
|
115 |
-
return $_SESSION['tmp_quads_ads'];
|
116 |
}
|
117 |
function quads_common_head_code(){
|
118 |
if(quads_is_amp_endpoint()){
|
102 |
// Return empty string
|
103 |
return '';
|
104 |
}
|
|
|
105 |
function quads_api_services_render_cllbck()
|
106 |
{
|
107 |
// Global $quads_ads variable to reduce db calls #631
|
|
|
108 |
require_once QUADS_PLUGIN_DIR . '/admin/includes/rest-api-service.php';
|
|
|
109 |
$api_service = new QUADS_Ad_Setup_Api_Service();
|
110 |
+
$quads_ads = $api_service->getAdDataByParam('quads-ads');
|
111 |
+
return $quads_ads;
|
|
|
112 |
}
|
113 |
function quads_common_head_code(){
|
114 |
if(quads_is_amp_endpoint()){
|
includes/template-functions.php
CHANGED
@@ -65,18 +65,14 @@ function quads_bbp_template_after_replies_loop(){
|
|
65 |
function quads_bbp_template_before_replies_loop(){
|
66 |
quads_load_ads_common('bbpress_before_reply');
|
67 |
}
|
68 |
-
|
69 |
-
unset($_SESSION['tmp_quads_ads']);
|
70 |
function quads_api_services_cllbck()
|
71 |
{
|
72 |
// Global $quads_ads variable to reduce db calls #631
|
73 |
-
if(empty($_SESSION['tmp_quads_ads'])){
|
74 |
require_once QUADS_PLUGIN_DIR . '/admin/includes/rest-api-service.php';
|
75 |
-
// global $api_service, $quads_ads;
|
76 |
$api_service = new QUADS_Ad_Setup_Api_Service();
|
77 |
-
$
|
78 |
-
|
79 |
-
return $_SESSION['tmp_quads_ads'];
|
80 |
}
|
81 |
function quads_load_ads_common($user_position,$html=''){
|
82 |
$quads_ads = quads_api_services_cllbck();
|
65 |
function quads_bbp_template_before_replies_loop(){
|
66 |
quads_load_ads_common('bbpress_before_reply');
|
67 |
}
|
68 |
+
|
|
|
69 |
function quads_api_services_cllbck()
|
70 |
{
|
71 |
// Global $quads_ads variable to reduce db calls #631
|
|
|
72 |
require_once QUADS_PLUGIN_DIR . '/admin/includes/rest-api-service.php';
|
|
|
73 |
$api_service = new QUADS_Ad_Setup_Api_Service();
|
74 |
+
$quads_ads = $api_service->getAdDataByParam('quads-ads');
|
75 |
+
return $quads_ads;
|
|
|
76 |
}
|
77 |
function quads_load_ads_common($user_position,$html=''){
|
78 |
$quads_ads = quads_api_services_cllbck();
|
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.65
|
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.65' );
|
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.65.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.65.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.1.1
|
12 |
Requires PHP: 5.4
|
13 |
-
Stable tag: 2.0.65
|
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 |
|
@@ -207,6 +207,9 @@ Alternative Installation:
|
|
207 |
|
208 |
== Changelog ==
|
209 |
|
|
|
|
|
|
|
210 |
= 2.0.65 ( 12 December 2022 ) =
|
211 |
* Fixed: When any warning is on quads dashboard, It does not show ads list #637
|
212 |
* Fixed: Warning: Invalid DOM property class. Did you mean className? #638
|
10 |
Requires at least: 3.6+
|
11 |
Tested up to: 6.1.1
|
12 |
Requires PHP: 5.4
|
13 |
+
Stable tag: 2.0.65.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 |
|
207 |
|
208 |
== Changelog ==
|
209 |
|
210 |
+
= 2.0.65.1 ( 14 December 2022 ) =
|
211 |
+
* Fixed: Warnings in Site Health #664
|
212 |
+
|
213 |
= 2.0.65 ( 12 December 2022 ) =
|
214 |
* Fixed: When any warning is on quads dashboard, It does not show ads list #637
|
215 |
* Fixed: Warning: Invalid DOM property class. Did you mean className? #638
|