Master Slider – Responsive Touch Slider - Version 3.1.5

Version Description

Download this release

Release Info

Developer averta
Plugin Icon 128x128 Master Slider – Responsive Touch Slider
Version 3.1.5
Comparing to
See all releases

Code changes from version 3.1.1 to 3.1.5

README.txt CHANGED
@@ -3,10 +3,10 @@ Contributors: averta, averta_support
3
  Donate link: http://averta.net/
4
  License: GPLv3
5
  License URI: http://www.gnu.org/licenses/gpl.html
6
- Tags: banner rotator, carousel, content slider, gallery, image slider, responsive slider, showcase, slideshow, swipe, touch slider, video gallery, SEO, vertical slide, HTML5 slider, hardware accelerate, best slider, animation, mobile slider, iOS, android, video slider, youtube slider, horizontal slider, vertical slider, fullwidth slider, fullscreen slider, post slider, photo slider, online album, mobile slider, WordPress slider,wpml, ,ultisite, wistia, woocommerce, product slider, woocommerce slider, portfolio, gallery
7
  Requires at least: 4.6
8
  Tested up to: 4.8.0
9
- Stable tag: 3.1.1
10
 
11
  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.
12
 
@@ -236,7 +236,10 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/master-sl
236
 
237
  == Changelog ==
238
 
239
- = 3.1.1 =
 
 
 
240
 
241
  = Version 3.1.1/ (17.08.2017) =
242
  - [Improvement]: Performance improvement and bug fix.
@@ -444,5 +447,5 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/master-sl
444
 
445
  == Upgrade Notice ==
446
 
447
- = Version 3.1.0/ (16.08.2017) =
448
- - [Improvement]: Performance improvement and bug fix.
3
  Donate link: http://averta.net/
4
  License: GPLv3
5
  License URI: http://www.gnu.org/licenses/gpl.html
6
+ Tags: slider, image slider, fullwidth slider, video slider, best slider, 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, best wordpress slider
7
  Requires at least: 4.6
8
  Tested up to: 4.8.0
9
+ Stable tag: 3.1.5
10
 
11
  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.
12
 
236
 
237
  == Changelog ==
238
 
239
+ = 3.1.5 =
240
+
241
+ = Version 3.1.5/ (03.10.2017) =
242
+ - [Improvement]: Minor bugs fix.
243
 
244
  = Version 3.1.1/ (17.08.2017) =
245
  - [Improvement]: Performance improvement and bug fix.
447
 
448
  == Upgrade Notice ==
449
 
450
+ = Version 3.1.5/ (03.10.2017) =
451
+ - [Improvement]: Minor bugs fix.
admin/assets/css/msp-general.css CHANGED
@@ -1,7 +1,7 @@
1
  /* This stylesheet is used to style the admin page for masterslider plugin.*/
2
 
3
  .manage-column.column-ID {
4
- width:50px;
5
  }
6
  .manage-column.column-shortcode {
7
  width: 150px;
1
  /* This stylesheet is used to style the admin page for masterslider plugin.*/
2
 
3
  .manage-column.column-ID {
4
+ width:60px;
5
  }
6
  .manage-column.column-shortcode {
7
  width: 150px;
includes/init/define.php CHANGED
@@ -5,7 +5,7 @@ if ( ! defined('ABSPATH') ) {
5
  die();
6
  }
7
 
8
- define( 'MSWP_AVERTA_VERSION' , '3.1.1' );
9
 
10
  define( 'MSWP_SLUG' , 'master-slider' );
11
  define( 'MSWP_TEXT_DOMAIN' , 'masterslider' );
5
  die();
6
  }
7
 
8
+ define( 'MSWP_AVERTA_VERSION' , '3.1.5' );
9
 
10
  define( 'MSWP_SLUG' , 'master-slider' );
11
  define( 'MSWP_TEXT_DOMAIN' , 'masterslider' );
master-slider.php CHANGED
@@ -11,7 +11,7 @@
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.1.1
15
  * Author: averta
16
  * Author URI: http://averta.net
17
  * Text Domain: master-slider
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.1.5
15
  * Author: averta
16
  * Author URI: http://averta.net
17
  * Text Domain: master-slider
public/includes/class-msp-frontend-assets.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php //
2
  /**
3
  * Load frontend scripts and styles
4
  *
@@ -26,11 +26,11 @@ class MSP_Frontend_Assets {
26
  * Construct
27
  */
28
  public function __construct() {
29
-
30
  $this->assets_dir = MSWP_AVERTA_PUB_URL . '/assets';
31
  $this->version = MSWP_AVERTA_VERSION;
32
 
33
- add_action( 'wp_enqueue_scripts', array( $this, 'load_assets' ), 15 );
34
  add_action( 'wp_head' , array( $this, 'inline_css_fallback' ) );
35
  add_action( 'wp_head' , array( $this, 'meta_generator' ) );
36
  }
@@ -40,11 +40,11 @@ class MSP_Frontend_Assets {
40
  * @return void
41
  */
42
  public function admin_hooks() {
43
-
44
  add_action( 'admin_enqueue_scripts', array( $this, 'load_assets' ), 15 );
45
  add_action( 'admin_head' , array( $this, 'inline_css_fallback' ) );
46
  }
47
-
48
  /**
49
  * Register and load frontend scripts
50
  * @return void
@@ -54,29 +54,29 @@ class MSP_Frontend_Assets {
54
 
55
  // Filter base front end assets directory
56
  $this->assets_dir = apply_filters( 'masterslider_frontend_assets_dir', $this->assets_dir );
57
-
58
-
59
  // JS //////////////////////////////////////////////////////////////////////////////
60
-
61
- wp_register_script( 'jquery-easing' ,
62
- $this->assets_dir . '/js/jquery.easing.min.js' ,
63
  array( 'jquery' ), $this->version, true );
64
 
65
- wp_register_script( 'masterslider-core' ,
66
- $this->assets_dir . '/js/masterslider.min.js' ,
67
  array( 'jquery', 'jquery-easing' ), $this->version, true );
68
-
69
  // always load assets by default if 'allways_load_ms_assets' option was enabled
70
  if( 'on' == msp_get_setting( 'allways_load_ms_assets' , 'msp_advanced' ) ) {
71
  wp_enqueue_script( 'masterslider-core' );
72
  }
73
 
74
  // Print JS Object //////////////////////////////////////////////////////////////////
75
-
76
  wp_localize_script( 'masterslider', 'masterslider_js_params', apply_filters( 'masterslider_js_params', array(
77
  'ajax_url' => admin_url( 'admin-ajax.php' )
78
  ) ) );
79
-
80
 
81
  // CSS //////////////////////////////////////////////////////////////////////////////
82
  $enqueue_styles = $this->get_styles();
@@ -93,12 +93,12 @@ class MSP_Frontend_Assets {
93
 
94
  /**
95
  * Get styles for the frontend
96
- *
97
  * @return array
98
  */
99
  public function get_styles() {
100
 
101
-
102
  $styles_queue = array(
103
 
104
  $this->prefix . 'main' => array(
@@ -106,7 +106,7 @@ class MSP_Frontend_Assets {
106
  'deps' => array(),
107
  'version' => $this->version
108
  )
109
-
110
  );
111
 
112
  // load custom.css if the directory is writable. else use inline css fallback
@@ -127,7 +127,7 @@ class MSP_Frontend_Assets {
127
 
128
  }
129
 
130
- return apply_filters( 'masterslider_enqueue_styles', $styles_queue );
131
  }
132
 
133
 
@@ -137,7 +137,7 @@ class MSP_Frontend_Assets {
137
  function inline_css_fallback(){
138
 
139
  $inline_css = msp_get_option( 'custom_inline_style', '' );
140
-
141
  // if custom.css is not writable, print css styles in page header
142
  if( ! empty( $inline_css ) ) {
143
  if( current_user_can( 'manage_options' ) )
@@ -153,8 +153,8 @@ class MSP_Frontend_Assets {
153
  * Print meta generator tag
154
  */
155
  function meta_generator(){
156
- echo sprintf( '<meta name="generator" content="MasterSlider %s - Responsive Touch Image Slider | www.avt.li/msf" />', MSWP_AVERTA_VERSION )."\n";
157
  }
158
 
159
  }
160
- return new MSP_Frontend_Assets();
1
+ <?php //
2
  /**
3
  * Load frontend scripts and styles
4
  *
26
  * Construct
27
  */
28
  public function __construct() {
29
+
30
  $this->assets_dir = MSWP_AVERTA_PUB_URL . '/assets';
31
  $this->version = MSWP_AVERTA_VERSION;
32
 
33
+ add_action( 'wp_enqueue_scripts', array( $this, 'load_assets' ), 15 );
34
  add_action( 'wp_head' , array( $this, 'inline_css_fallback' ) );
35
  add_action( 'wp_head' , array( $this, 'meta_generator' ) );
36
  }
40
  * @return void
41
  */
42
  public function admin_hooks() {
43
+
44
  add_action( 'admin_enqueue_scripts', array( $this, 'load_assets' ), 15 );
45
  add_action( 'admin_head' , array( $this, 'inline_css_fallback' ) );
46
  }
47
+
48
  /**
49
  * Register and load frontend scripts
50
  * @return void
54
 
55
  // Filter base front end assets directory
56
  $this->assets_dir = apply_filters( 'masterslider_frontend_assets_dir', $this->assets_dir );
57
+
58
+
59
  // JS //////////////////////////////////////////////////////////////////////////////
60
+
61
+ wp_register_script( 'jquery-easing' ,
62
+ $this->assets_dir . '/js/jquery.easing.min.js' ,
63
  array( 'jquery' ), $this->version, true );
64
 
65
+ wp_register_script( 'masterslider-core' ,
66
+ $this->assets_dir . '/js/masterslider.min.js' ,
67
  array( 'jquery', 'jquery-easing' ), $this->version, true );
68
+
69
  // always load assets by default if 'allways_load_ms_assets' option was enabled
70
  if( 'on' == msp_get_setting( 'allways_load_ms_assets' , 'msp_advanced' ) ) {
71
  wp_enqueue_script( 'masterslider-core' );
72
  }
73
 
74
  // Print JS Object //////////////////////////////////////////////////////////////////
75
+
76
  wp_localize_script( 'masterslider', 'masterslider_js_params', apply_filters( 'masterslider_js_params', array(
77
  'ajax_url' => admin_url( 'admin-ajax.php' )
78
  ) ) );
79
+
80
 
81
  // CSS //////////////////////////////////////////////////////////////////////////////
82
  $enqueue_styles = $this->get_styles();
93
 
94
  /**
95
  * Get styles for the frontend
96
+ *
97
  * @return array
98
  */
99
  public function get_styles() {
100
 
101
+
102
  $styles_queue = array(
103
 
104
  $this->prefix . 'main' => array(
106
  'deps' => array(),
107
  'version' => $this->version
108
  )
109
+
110
  );
111
 
112
  // load custom.css if the directory is writable. else use inline css fallback
127
 
128
  }
129
 
130
+ return apply_filters( 'masterslider_enqueue_styles', $styles_queue );
131
  }
132
 
133
 
137
  function inline_css_fallback(){
138
 
139
  $inline_css = msp_get_option( 'custom_inline_style', '' );
140
+
141
  // if custom.css is not writable, print css styles in page header
142
  if( ! empty( $inline_css ) ) {
143
  if( current_user_can( 'manage_options' ) )
153
  * Print meta generator tag
154
  */
155
  function meta_generator(){
156
+ echo sprintf( '<meta name="generator" content="MasterSlider %s - Responsive Touch Image Slider | avt.li/msf" />', MSWP_AVERTA_VERSION )."\n";
157
  }
158
 
159
  }
160
+ return new MSP_Frontend_Assets();