Master Slider – Responsive Touch Slider - Version 3.7.8

Version Description

Download this release

Release Info

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

Code changes from version 3.7.7 to 3.7.8

README.txt CHANGED
@@ -7,7 +7,7 @@ Tags: slider, image slider, wordpress slider, video slider, best slider plugin,
7
  Requires PHP: 5.4
8
  Requires at least: 5.0
9
  Tested up to: 5.7.0
10
- Stable tag: 3.7.7
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
 
7
  Requires PHP: 5.4
8
  Requires at least: 5.0
9
  Tested up to: 5.7.0
10
+ Stable tag: 3.7.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
 
includes/init/define.php CHANGED
@@ -5,7 +5,7 @@ if ( ! defined('ABSPATH') ) {
5
  die();
6
  }
7
 
8
- define( 'MSWP_AVERTA_VERSION' , '3.7.7' );
9
 
10
  define( 'MSWP_SLUG' , 'master-slider' );
11
  define( 'MSWP_TEXT_DOMAIN' , 'masterslider' );
5
  die();
6
  }
7
 
8
+ define( 'MSWP_AVERTA_VERSION' , '3.7.8' );
9
 
10
  define( 'MSWP_SLUG' , 'master-slider' );
11
  define( 'MSWP_TEXT_DOMAIN' , 'masterslider' );
includes/msp-shortcodes.php CHANGED
@@ -279,9 +279,6 @@ function msp_masterslider_wrapper_shortcode( $atts, $content = null ) {
279
  }
280
 
281
 
282
- $inline_style = empty( $inline_style ) ? '' : sprintf( 'style="%s" ', esc_attr( $inline_style ) );
283
-
284
-
285
  $arrows_hideunder = empty( $arrows_hideunder ) ? '' : sprintf( ', hideUnder:%s', $arrows_hideunder );
286
  $bullets_hideunder = empty( $bullets_hideunder ) ? '' : sprintf( ', hideUnder:%s', $bullets_hideunder );
287
  $thumbs_hideunder = empty( $thumbs_hideunder ) ? '' : sprintf( ', hideUnder:%s', $thumbs_hideunder );
@@ -397,7 +394,7 @@ function msp_masterslider_wrapper_shortcode( $atts, $content = null ) {
397
  ?>
398
 
399
  <!-- MasterSlider -->
400
- <div id="<?php echo esc_attr( $puid ); ?>" class="master-slider-parent msl <?php echo esc_attr( trim( $wrapper_classes ) ); ?>" <?php echo $inline_style; ?> >
401
 
402
  <?php echo wp_kses_post( $inner_template_container_open_tags ); ?>
403
 
@@ -713,8 +710,8 @@ function msp_masterslider_slide_shortcode( $atts, $content = null ) {
713
  $src_blank = empty( $src_blank ) ? $src : $src_blank;
714
 
715
  if( ! empty( $pattern ) || ! empty( $tintcolor ) ){
716
- $inline_style = ! empty( $tintcolor ) ? 'style="background-color:' . $tintcolor . ';"' : '';
717
- $slide_content .= "\t\t\t\t\t" . sprintf('<div class="ms-pattern %s" %s ></div>', $pattern, $inline_style )."\n";
718
  }
719
 
720
  // decode escaped square brackets
279
  }
280
 
281
 
 
 
 
282
  $arrows_hideunder = empty( $arrows_hideunder ) ? '' : sprintf( ', hideUnder:%s', $arrows_hideunder );
283
  $bullets_hideunder = empty( $bullets_hideunder ) ? '' : sprintf( ', hideUnder:%s', $bullets_hideunder );
284
  $thumbs_hideunder = empty( $thumbs_hideunder ) ? '' : sprintf( ', hideUnder:%s', $thumbs_hideunder );
394
  ?>
395
 
396
  <!-- MasterSlider -->
397
+ <div id="<?php echo esc_attr( $puid ); ?>" class="master-slider-parent msl <?php echo esc_attr( trim( $wrapper_classes ) ); ?>" style="<?php echo esc_attr( $inline_style ); ?>">
398
 
399
  <?php echo wp_kses_post( $inner_template_container_open_tags ); ?>
400
 
710
  $src_blank = empty( $src_blank ) ? $src : $src_blank;
711
 
712
  if( ! empty( $pattern ) || ! empty( $tintcolor ) ){
713
+ $inline_style = ! empty( $tintcolor ) ? esc_attr( 'background-color:' . $tintcolor . ';') : '';
714
+ $slide_content .= "\t\t\t\t\t" . sprintf('<div class="ms-pattern %s" style="%s"></div>', $pattern, $inline_style )."\n";
715
  }
716
 
717
  // decode escaped square brackets
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.7.7
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.7.8
15
  * Author: averta
16
  * Author URI: http://averta.net
17
  * Text Domain: master-slider