Version Description
- 10th November 2020 =
- Fix: Fixed vulnerability issue for analytics sdk
Download this release
Release Info
Developer | cyberchimps |
Plugin | Responsive Add Ons |
Version | 2.4.2 |
Comparing to | |
See all releases |
Code changes from version 2.4.1 to 2.4.2
analytics/config.php
CHANGED
@@ -41,9 +41,6 @@ if ( ! defined( 'WP_STAT__DIR_INCLUDES' ) ) {
|
|
41 |
if ( ! defined( 'WP_STAT__DIR_TEMPLATES' ) ) {
|
42 |
define( 'WP_STAT__DIR_TEMPLATES', WP_STAT__DIR . '/templates' );
|
43 |
}
|
44 |
-
if ( ! defined( 'WP_STAT__DIR_TEMPLATES' ) ) {
|
45 |
-
define( 'WP_STAT__DIR_TEMPLATES', WP_STAT__DIR . '/templates' );
|
46 |
-
}
|
47 |
if ( ! defined( 'WP_STAT__DIR_ASSETS' ) ) {
|
48 |
define( 'WP_STAT__DIR_ASSETS', WP_STAT__DIR . '/assets' );
|
49 |
}
|
41 |
if ( ! defined( 'WP_STAT__DIR_TEMPLATES' ) ) {
|
42 |
define( 'WP_STAT__DIR_TEMPLATES', WP_STAT__DIR . '/templates' );
|
43 |
}
|
|
|
|
|
|
|
44 |
if ( ! defined( 'WP_STAT__DIR_ASSETS' ) ) {
|
45 |
define( 'WP_STAT__DIR_ASSETS', WP_STAT__DIR . '/assets' );
|
46 |
}
|
analytics/includes/analytics-core-functions.php
CHANGED
@@ -8,6 +8,10 @@
|
|
8 |
* @since 1.0.0
|
9 |
*/
|
10 |
|
|
|
|
|
|
|
|
|
11 |
/*
|
12 |
Templates / Views.
|
13 |
--------------------------------------------------------------------------------------------
|
@@ -187,15 +191,6 @@ if ( ! function_exists( 'as_asset_url' ) ) {
|
|
187 |
* Generates an absolute URL to the given path. This function ensures that the URL will be correct whether the asset
|
188 |
* is inside a plugin's folder or a theme's folder.
|
189 |
*
|
190 |
-
* Examples:
|
191 |
-
* 1. "themes" folder
|
192 |
-
* Path: C:/xampp/htdocs/fswp/wp-content/themes/twentytwelve/analytics/assets/css/admin/common.css
|
193 |
-
* URL: http://awp:8080/wp-content/themes/twentytwelve/analytics/assets/css/admin/common.css
|
194 |
-
*
|
195 |
-
* 2. "plugins" folder
|
196 |
-
* Path: C:/xampp/htdocs/fswp/wp-content/plugins/rating-widget-premium/analytics/assets/css/admin/common.css
|
197 |
-
* URL: http://awp:8080/wp-content/plugins/rating-widget-premium/analytics/assets/css/admin/common.css
|
198 |
-
*
|
199 |
* @author CyberChimps
|
200 |
* @since 1.0.0
|
201 |
*
|
8 |
* @since 1.0.0
|
9 |
*/
|
10 |
|
11 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
12 |
+
exit;
|
13 |
+
}
|
14 |
+
|
15 |
/*
|
16 |
Templates / Views.
|
17 |
--------------------------------------------------------------------------------------------
|
191 |
* Generates an absolute URL to the given path. This function ensures that the URL will be correct whether the asset
|
192 |
* is inside a plugin's folder or a theme's folder.
|
193 |
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
194 |
* @author CyberChimps
|
195 |
* @since 1.0.0
|
196 |
*
|
analytics/includes/analytics-essential-functions.php
CHANGED
@@ -8,6 +8,10 @@
|
|
8 |
* @since 1.0.0
|
9 |
*/
|
10 |
|
|
|
|
|
|
|
|
|
11 |
if ( ! function_exists( 'as_normalize_path' ) ) {
|
12 |
/**
|
13 |
* Normalize path.
|
8 |
* @since 1.0.0
|
9 |
*/
|
10 |
|
11 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
12 |
+
exit;
|
13 |
+
}
|
14 |
+
|
15 |
if ( ! function_exists( 'as_normalize_path' ) ) {
|
16 |
/**
|
17 |
* Normalize path.
|
analytics/includes/sdk/Exceptions/Exception.php
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
2 |
if ( ! class_exists( 'Analytics_Exception' ) ) {
|
3 |
/**
|
4 |
* Thrown when an API call returns an exception.
|
1 |
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
+
exit;
|
4 |
+
}
|
5 |
+
|
6 |
if ( ! class_exists( 'Analytics_Exception' ) ) {
|
7 |
/**
|
8 |
* Thrown when an API call returns an exception.
|
analytics/require.php
CHANGED
@@ -6,6 +6,10 @@
|
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
|
|
|
|
|
|
|
|
9 |
// Configuration should be loaded first.
|
10 |
require_once dirname( __FILE__ ) . '/config.php';
|
11 |
require_once WP_STAT__DIR_INCLUDES . '/analytics-core-functions.php';
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
9 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
10 |
+
exit;
|
11 |
+
}
|
12 |
+
|
13 |
// Configuration should be loaded first.
|
14 |
require_once dirname( __FILE__ ) . '/config.php';
|
15 |
require_once WP_STAT__DIR_INCLUDES . '/analytics-core-functions.php';
|
analytics/start.php
CHANGED
@@ -17,13 +17,13 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
17 |
*
|
18 |
* @var string
|
19 |
*/
|
20 |
-
$
|
21 |
|
22 |
require_once dirname( __FILE__ ) . '/includes/analytics-essential-functions.php';
|
23 |
|
24 |
if ( ! class_exists( 'Analytics' ) ) {
|
25 |
if ( ! defined( 'WP_STAT__SDK_VERSION' ) ) {
|
26 |
-
define( 'WP_STAT__SDK_VERSION', $
|
27 |
}
|
28 |
|
29 |
// Load SDK files.
|
17 |
*
|
18 |
* @var string
|
19 |
*/
|
20 |
+
$analytics_sdk_version = '2.4.1';
|
21 |
|
22 |
require_once dirname( __FILE__ ) . '/includes/analytics-essential-functions.php';
|
23 |
|
24 |
if ( ! class_exists( 'Analytics' ) ) {
|
25 |
if ( ! defined( 'WP_STAT__SDK_VERSION' ) ) {
|
26 |
+
define( 'WP_STAT__SDK_VERSION', $analytics_sdk_version );
|
27 |
}
|
28 |
|
29 |
// Load SDK files.
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: one click demo import, gutenberg, elementor, templates
|
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.5
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag:
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -106,6 +106,9 @@ Absolutely not! Once you install the plugin, it will take care of all other depe
|
|
106 |
4. Your website is ready
|
107 |
|
108 |
== Changelog ==
|
|
|
|
|
|
|
109 |
= 2.4.1 - 28th August 2020 =
|
110 |
- Fix: Compatibility with Elementor 3.0.0 and above
|
111 |
|
@@ -242,4 +245,4 @@ Absolutely not! Once you install the plugin, it will take care of all other depe
|
|
242 |
* Bug fixes
|
243 |
|
244 |
= 1.0.0 =
|
245 |
-
* Initial set up and release
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.5
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.4.2
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
106 |
4. Your website is ready
|
107 |
|
108 |
== Changelog ==
|
109 |
+
= 2.4.2 - 10th November 2020 =
|
110 |
+
* Fix: Fixed vulnerability issue for analytics sdk
|
111 |
+
|
112 |
= 2.4.1 - 28th August 2020 =
|
113 |
- Fix: Compatibility with Elementor 3.0.0 and above
|
114 |
|
245 |
* Bug fixes
|
246 |
|
247 |
= 1.0.0 =
|
248 |
+
* Initial set up and release
|
responsive-add-ons.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Responsive Ready Sites Importer
|
4 |
* Plugin URI: http://wordpress.org/plugins/responsive-add-ons/
|
5 |
* Description: Import Responsive Ready Sites that help you launch your website quickly. Just import, update & hit the launch button.
|
6 |
-
* Version: 2.4.
|
7 |
* Author: CyberChimps
|
8 |
* License: GPL2
|
9 |
*
|
@@ -45,7 +45,7 @@ if ( ! defined( 'RESPONSIVE_ADDONS_URI' ) ) {
|
|
45 |
}
|
46 |
|
47 |
if ( ! defined( 'RESPONSIVE_ADDONS_VER' ) ) {
|
48 |
-
define( 'RESPONSIVE_ADDONS_VER', '2.4.
|
49 |
}
|
50 |
|
51 |
if ( ! function_exists( 'ra_fs' ) ) {
|
@@ -65,7 +65,7 @@ if ( ! function_exists( 'ra_fs' ) ) {
|
|
65 |
'slug' => 'responsive-add-ons',
|
66 |
'product_name' => 'Responsive Ready Sites Importer',
|
67 |
'module_type' => 'plugin',
|
68 |
-
'version' => '2.4.
|
69 |
'plugin_basename' => 'responsive-add-ons/responsive-add-ons.php',
|
70 |
'plugin_url' => RESPONSIVE_ADDONS_DIR_URL,
|
71 |
)
|
3 |
* Plugin Name: Responsive Ready Sites Importer
|
4 |
* Plugin URI: http://wordpress.org/plugins/responsive-add-ons/
|
5 |
* Description: Import Responsive Ready Sites that help you launch your website quickly. Just import, update & hit the launch button.
|
6 |
+
* Version: 2.4.2
|
7 |
* Author: CyberChimps
|
8 |
* License: GPL2
|
9 |
*
|
45 |
}
|
46 |
|
47 |
if ( ! defined( 'RESPONSIVE_ADDONS_VER' ) ) {
|
48 |
+
define( 'RESPONSIVE_ADDONS_VER', '2.4.2' );
|
49 |
}
|
50 |
|
51 |
if ( ! function_exists( 'ra_fs' ) ) {
|
65 |
'slug' => 'responsive-add-ons',
|
66 |
'product_name' => 'Responsive Ready Sites Importer',
|
67 |
'module_type' => 'plugin',
|
68 |
+
'version' => '2.4.2',
|
69 |
'plugin_basename' => 'responsive-add-ons/responsive-add-ons.php',
|
70 |
'plugin_url' => RESPONSIVE_ADDONS_DIR_URL,
|
71 |
)
|