Version Description
Download this release
Release Info
Developer | averta |
Plugin | Master Slider – Responsive Touch Slider |
Version | 3.8.5 |
Comparing to | |
See all releases |
Code changes from version 3.8.1 to 3.8.5
- README.txt +8 -5
- admin/includes/classes/class-msp-admin-assets.php +17 -16
- includes/init/define.php +1 -1
- master-slider.php +2 -2
README.txt
CHANGED
@@ -6,8 +6,8 @@ License URI: http://www.gnu.org/licenses/gpl.html
|
|
6 |
Tags: slider, image slider, wordpress slider, video slider, best slider plugin, slideshow, swipe, touch slider, content slider, SEO, vertical slider, HTML5 slider, hardware accelerate, animation, mobile slider, iOS, android, youtube slider, horizontal slider, responsive slider, fullscreen slider, post slider, photo slider, online album, mobile slider, WordPress slider,wpml, ,ultisite, wistia, woocommerce, product slider, woocommerce slider, portfolio, gallery, lightweight slider
|
7 |
Requires PHP: 5.4
|
8 |
Requires at least: 5.0
|
9 |
-
Tested up to:
|
10 |
-
Stable tag: 3.8.
|
11 |
|
12 |
Build SEO friendly sliders fast and easy with Master Slider. The most advanced responsive HTML5 WordPress slider plugin, with touch swipe navigation that works smoothly on desktop and devices.
|
13 |
|
@@ -237,7 +237,10 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/master-sl
|
|
237 |
|
238 |
== Changelog ==
|
239 |
|
240 |
-
= 3.8.
|
|
|
|
|
|
|
241 |
|
242 |
= Version 3.8.1/ (10.02.2022) =
|
243 |
- [Fixed]: An issue with mouse wheel in chrome fixed.
|
@@ -504,5 +507,5 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/master-sl
|
|
504 |
|
505 |
== Upgrade Notice ==
|
506 |
|
507 |
-
= Version 3.
|
508 |
-
- [Fixed]: An
|
6 |
Tags: slider, image slider, wordpress slider, video slider, best slider plugin, slideshow, swipe, touch slider, content slider, SEO, vertical slider, HTML5 slider, hardware accelerate, animation, mobile slider, iOS, android, youtube slider, horizontal slider, responsive slider, fullscreen slider, post slider, photo slider, online album, mobile slider, WordPress slider,wpml, ,ultisite, wistia, woocommerce, product slider, woocommerce slider, portfolio, gallery, lightweight slider
|
7 |
Requires PHP: 5.4
|
8 |
Requires at least: 5.0
|
9 |
+
Tested up to: 6.0.2
|
10 |
+
Stable tag: 3.8.5
|
11 |
|
12 |
Build SEO friendly sliders fast and easy with Master Slider. The most advanced responsive HTML5 WordPress slider plugin, with touch swipe navigation that works smoothly on desktop and devices.
|
13 |
|
237 |
|
238 |
== Changelog ==
|
239 |
|
240 |
+
= 3.8.5 =
|
241 |
+
|
242 |
+
= Version 3.8.5/ (20.11.2022) =
|
243 |
+
- [Fixed]: An incompatibility with the new version of WordPress fixed.
|
244 |
|
245 |
= Version 3.8.1/ (10.02.2022) =
|
246 |
- [Fixed]: An issue with mouse wheel in chrome fixed.
|
507 |
|
508 |
== Upgrade Notice ==
|
509 |
|
510 |
+
= Version 3.8.5/ (20.11.2022) =
|
511 |
+
- [Fixed]: An incompatibility with the new version of WordPress fixed.
|
admin/includes/classes/class-msp-admin-assets.php
CHANGED
@@ -120,7 +120,7 @@ class MSP_Admin_Assets {
|
|
120 |
);
|
121 |
|
122 |
wp_localize_script( $this->panel_js_handler, '__MSP_SKINS', apply_filters( 'masterslider_skins', $slider_skins ) );
|
123 |
-
|
124 |
|
125 |
// get and print slider id
|
126 |
if ( isset( $_REQUEST['slider_id'] ) ) {
|
@@ -133,7 +133,7 @@ class MSP_Admin_Assets {
|
|
133 |
|
134 |
if ( isset( $_REQUEST['action'] ) && 'add' == $_REQUEST['action'] ) {
|
135 |
$slider_id = $mspdb->add_slider( array( 'status' => 'draft' ) );
|
136 |
-
|
137 |
}
|
138 |
}
|
139 |
|
@@ -146,27 +146,28 @@ class MSP_Admin_Assets {
|
|
146 |
$slider_type = isset( $slider_data[ 'type' ] ) ? $slider_data[ 'type' ] : 'custom';
|
147 |
$slider_type = empty( $slider_type ) ? 'custom' : $slider_type;
|
148 |
|
149 |
-
$msp_data = isset( $slider_data[ 'params' ] ) ? $slider_data[ 'params' ] :
|
150 |
-
$msp_data = empty( $slider_data[ 'params' ] ) ?
|
151 |
|
152 |
-
$msp_preset_style = msp_get_option( 'preset_style' ,
|
153 |
-
$msp_preset_effect = msp_get_option( 'preset_effect',
|
154 |
-
$msp_buttons_style = msp_get_option( 'buttons_style',
|
155 |
|
156 |
-
$msp_preset_style = empty( $msp_preset_style ) ?
|
157 |
-
$msp_preset_effect = empty( $msp_preset_effect ) ?
|
158 |
-
$msp_buttons_style = empty( $msp_buttons_style ) ?
|
159 |
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
|
|
165 |
}
|
166 |
|
167 |
|
168 |
// define panel directory path
|
169 |
-
|
170 |
|
171 |
$slider_panel_default_setting = array(
|
172 |
|
120 |
);
|
121 |
|
122 |
wp_localize_script( $this->panel_js_handler, '__MSP_SKINS', apply_filters( 'masterslider_skins', $slider_skins ) );
|
123 |
+
wp_add_inline_script( $this->panel_js_handler, 'var __MSP_SLIDER_ALIAS = "1";' );
|
124 |
|
125 |
// get and print slider id
|
126 |
if ( isset( $_REQUEST['slider_id'] ) ) {
|
133 |
|
134 |
if ( isset( $_REQUEST['action'] ) && 'add' == $_REQUEST['action'] ) {
|
135 |
$slider_id = $mspdb->add_slider( array( 'status' => 'draft' ) );
|
136 |
+
wp_add_inline_script( $this->panel_js_handler, 'var __MSP_SLIDER_ID = ' . (string) $slider_id . ';' );
|
137 |
}
|
138 |
}
|
139 |
|
146 |
$slider_type = isset( $slider_data[ 'type' ] ) ? $slider_data[ 'type' ] : 'custom';
|
147 |
$slider_type = empty( $slider_type ) ? 'custom' : $slider_type;
|
148 |
|
149 |
+
$msp_data = isset( $slider_data[ 'params' ] ) ? $slider_data[ 'params' ] : '';
|
150 |
+
$msp_data = empty( $slider_data[ 'params' ] ) ? '' : '"' . $slider_data[ 'params' ] . '"';
|
151 |
|
152 |
+
$msp_preset_style = msp_get_option( 'preset_style' , '' );
|
153 |
+
$msp_preset_effect = msp_get_option( 'preset_effect', '' );
|
154 |
+
$msp_buttons_style = msp_get_option( 'buttons_style', '' );
|
155 |
|
156 |
+
$msp_preset_style = empty( $msp_preset_style ) ? '' : $msp_preset_style;
|
157 |
+
$msp_preset_effect = empty( $msp_preset_effect ) ? '' : $msp_preset_effect;
|
158 |
+
$msp_buttons_style = empty( $msp_buttons_style ) ? '' : $msp_buttons_style;
|
159 |
|
160 |
+
|
161 |
+
wp_add_inline_script( $this->panel_js_handler, 'var __MSP_DATA = "' . $msp_data . '";');
|
162 |
+
wp_add_inline_script( $this->panel_js_handler, 'var __MSP_PRESET_STYLE = "' . $msp_preset_style . '";');
|
163 |
+
wp_add_inline_script( $this->panel_js_handler, 'var __MSP_PRESET_EFFECT = "' . $msp_preset_effect . '";');
|
164 |
+
wp_add_inline_script( $this->panel_js_handler, 'var __MSP_TYPE = "' . $slider_type . '";' );
|
165 |
+
wp_add_inline_script( $this->panel_js_handler, 'var __MSP_PRESET_BUTTON = "' . $msp_buttons_style . '";');
|
166 |
}
|
167 |
|
168 |
|
169 |
// define panel directory path
|
170 |
+
wp_add_inline_script( $this->panel_js_handler, 'var __MSP_PATH = "' . MSWP_AVERTA_ADMIN_URL . '/views/slider-panel/";' );
|
171 |
|
172 |
$slider_panel_default_setting = array(
|
173 |
|
includes/init/define.php
CHANGED
@@ -5,7 +5,7 @@ if ( ! defined('ABSPATH') ) {
|
|
5 |
die();
|
6 |
}
|
7 |
|
8 |
-
define( 'MSWP_AVERTA_VERSION' , '3.8.
|
9 |
|
10 |
define( 'MSWP_SLUG' , 'master-slider' );
|
11 |
define( 'MSWP_TEXT_DOMAIN' , 'masterslider' );
|
5 |
die();
|
6 |
}
|
7 |
|
8 |
+
define( 'MSWP_AVERTA_VERSION' , '3.8.5' );
|
9 |
|
10 |
define( 'MSWP_SLUG' , 'master-slider' );
|
11 |
define( 'MSWP_TEXT_DOMAIN' , 'masterslider' );
|
master-slider.php
CHANGED
@@ -11,13 +11,13 @@
|
|
11 |
* Plugin Name: Master Slider
|
12 |
* Plugin URI: https://wordpress.org/plugins/master-slider/
|
13 |
* Description: Master Slider is the most advanced responsive HTML5 WordPress slider plugin with touch swipe navigation that works smoothly on devices too.
|
14 |
-
* Version: 3.8.
|
15 |
* Author: averta
|
16 |
* Author URI: http://averta.net
|
17 |
* Text Domain: master-slider
|
18 |
* License URI: license.txt
|
19 |
* Domain Path: /languages
|
20 |
-
* Tested up to:
|
21 |
*/
|
22 |
|
23 |
// If this file is called directly, abort.
|
11 |
* Plugin Name: Master Slider
|
12 |
* Plugin URI: https://wordpress.org/plugins/master-slider/
|
13 |
* Description: Master Slider is the most advanced responsive HTML5 WordPress slider plugin with touch swipe navigation that works smoothly on devices too.
|
14 |
+
* Version: 3.8.5
|
15 |
* Author: averta
|
16 |
* Author URI: http://averta.net
|
17 |
* Text Domain: master-slider
|
18 |
* License URI: license.txt
|
19 |
* Domain Path: /languages
|
20 |
+
* Tested up to: 6.0.2
|
21 |
*/
|
22 |
|
23 |
// If this file is called directly, abort.
|