Master Slider – Responsive Touch Slider - Version 1.2.5

Version Description

Download this release

Release Info

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

Code changes from version 1.2.1 to 1.2.5

README.txt CHANGED
@@ -6,7 +6,7 @@ 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, css3, 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
7
  Requires at least: 3.8
8
  Tested up to: 4.0.0
9
- Stable tag: 1.2.1
10
 
11
  The Most advanced responsive HTML5 WordPress slider plugin with touch swipe navigation that works smoothly on devices too.
12
 
@@ -158,6 +158,10 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/master-sl
158
 
159
  == Changelog ==
160
 
 
 
 
 
161
  = Version 1.2.1 / (11.09.2014) =
162
  - Minor bug in admin panel fixed
163
 
@@ -198,5 +202,6 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/master-sl
198
 
199
  == Upgrade Notice ==
200
 
201
- = 1.2.1 =
202
- - Minor bug in admin panel fixed
 
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, css3, 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
7
  Requires at least: 3.8
8
  Tested up to: 4.0.0
9
+ Stable tag: 1.2.5
10
 
11
  The Most advanced responsive HTML5 WordPress slider plugin with touch swipe navigation that works smoothly on devices too.
12
 
158
 
159
  == Changelog ==
160
 
161
+ = Version 1.2.5 / (17.09.2014) =
162
+ - Performance Improvement
163
+ - Minor bugs fixed
164
+
165
  = Version 1.2.1 / (11.09.2014) =
166
  - Minor bug in admin panel fixed
167
 
202
 
203
  == Upgrade Notice ==
204
 
205
+ = 1.2.5 =
206
+ - Performance Improvement
207
+ - Minor bugs fixed
admin/assets/css/msp-general.css CHANGED
@@ -31,6 +31,7 @@
31
  #msp-main-wrapper .wp-list-table tfoot th.manage-column a { color:#777; }
32
  #msp-main-wrapper .wp-list-table tbody tr { height:40px; }
33
 
 
34
 
35
  .tablenav.top {
36
  display:none;
@@ -52,6 +53,44 @@
52
  z-index:39999;
53
  }
54
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
  /** add new slider button **/
56
 
57
  .msp-ac-btn {
@@ -221,6 +260,9 @@ tbody .latest-updates {
221
  background: white;
222
  padding:13px 15px;
223
  margin-top: 20px;
 
 
 
224
  }
225
  .msp-logo {
226
  line-height:100%;
@@ -466,6 +508,7 @@ tbody .latest-updates {
466
  border: none;
467
  box-shadow: none;
468
  background: url(../images/help.png) no-repeat 2px 2px;
 
469
  }
470
 
471
  #screen-meta-links .screen-meta-toggle {
31
  #msp-main-wrapper .wp-list-table tfoot th.manage-column a { color:#777; }
32
  #msp-main-wrapper .wp-list-table tbody tr { height:40px; }
33
 
34
+ .error { display:none; }
35
 
36
  .tablenav.top {
37
  display:none;
53
  z-index:39999;
54
  }
55
 
56
+ .upgrade-pro {
57
+ right: 125px;
58
+ position: absolute;
59
+ top: 27px;
60
+ background: #85C63C;
61
+ text-decoration: none;
62
+ padding: 4px 20px 4px 30px;
63
+ border: none;
64
+ color: #FFF;
65
+ font-size: 12px;
66
+ border-radius: 14px;
67
+ }
68
+
69
+ .upgrade-pro:hover {
70
+ background: #65AD14;
71
+ color: #FFF;
72
+ }
73
+
74
+ .upgrade-pro:before {
75
+ font: 400 20px/1 dashicons !important;
76
+ speak: none;
77
+ display: inline-block;
78
+ -webkit-font-smoothing: antialiased;
79
+ -moz-osx-font-smoothing: grayscale;
80
+ -moz-transition: all .1s ease-in-out;
81
+ -o-transition: all .1s ease-in-out;
82
+ -webkit-transition: all .1s ease-in-out;
83
+ transition: all .1s ease-in-out;
84
+ }
85
+
86
+ .upgrade-pro:before {
87
+ content: '\f172';
88
+ top: 3px;
89
+ position: absolute;
90
+ left: 9px;
91
+ transform: rotate(-90deg);
92
+ }
93
+
94
  /** add new slider button **/
95
 
96
  .msp-ac-btn {
260
  background: white;
261
  padding:13px 15px;
262
  margin-top: 20px;
263
+ border-radius: 1px;
264
+ border:1px solid #e5e5e5;
265
+ position:relative;
266
  }
267
  .msp-logo {
268
  line-height:100%;
508
  border: none;
509
  box-shadow: none;
510
  background: url(../images/help.png) no-repeat 2px 2px;
511
+ z-index:3;
512
  }
513
 
514
  #screen-meta-links .screen-meta-toggle {
admin/class-master-slider-admin.php CHANGED
@@ -245,17 +245,14 @@ class Master_Slider_Admin {
245
  /**
246
  * Add settings action link to the plugins page.
247
  *
248
- * @since 1.0.0
249
  */
250
  public function add_action_links( $links ) {
251
 
252
- return array_merge(
253
- array(
254
- 'settings' => '<a href="' . admin_url( 'admin.php?page=' . MSWP_SLUG . '-setting' ) . '">' . __( 'Settings', MSWP_TEXT_DOMAIN ) . '</a>'
255
- ),
256
- $links
257
- );
258
 
 
259
  }
260
 
261
 
245
  /**
246
  * Add settings action link to the plugins page.
247
  *
248
+ * @since 1.2.0
249
  */
250
  public function add_action_links( $links ) {
251
 
252
+ $links['settings'] = '<a href="' . admin_url( 'admin.php?page=' . MSWP_SLUG . '-setting' ) . '">' . __( 'Settings', MSWP_TEXT_DOMAIN ) . '</a>';
253
+ $links['go_pro'] = '<a href="http://www.masterslider.com/wordpress/pro/?msl">' . __( 'Go Pro', MSWP_TEXT_DOMAIN ) . '</a>';
 
 
 
 
254
 
255
+ return $links;
256
  }
257
 
258
 
admin/includes/msp-admin-templates.php CHANGED
@@ -8,6 +8,7 @@ function msp_get_panel_header(){
8
  <img src="<?php echo MSWP_AVERTA_ADMIN_URL; ?>/views/slider-panel/images/masterslider.gif">
9
  </a>
10
  </div>
 
11
  </div>
12
  <?php
13
  }
8
  <img src="<?php echo MSWP_AVERTA_ADMIN_URL; ?>/views/slider-panel/images/masterslider.gif">
9
  </a>
10
  </div>
11
+ <a class="upgrade-pro" href="http://www.masterslider.com/wordpress/pro/?msl" title="<?php _e( "Upgrade to PRO version to unlock more features. Click to see the list of features." ); ?>" target="_blank"><?php _e( "Upgrade to PRO Version", MSWP_TEXT_DOMAIN ); ?></a>
12
  </div>
13
  <?php
14
  }
admin/views/setting/class-msp-settings.php CHANGED
@@ -75,6 +75,11 @@ class MSP_Settings {
75
  'title' => __( 'Advanced Setting', MSWP_TEXT_DOMAIN )
76
  );
77
 
 
 
 
 
 
78
  return $sections;
79
  }
80
 
@@ -119,6 +124,15 @@ class MSP_Settings {
119
  )
120
  );
121
 
 
 
 
 
 
 
 
 
 
122
  return $settings_fields;
123
  }
124
 
75
  'title' => __( 'Advanced Setting', MSWP_TEXT_DOMAIN )
76
  );
77
 
78
+ $sections[] = array(
79
+ 'id' => 'upgrade_to_pro',
80
+ 'title' => __( 'Upgrade to Pro version', MSWP_TEXT_DOMAIN )
81
+ );
82
+
83
  return $sections;
84
  }
85
 
124
  )
125
  );
126
 
127
+ $settings_fields['upgrade_to_pro'] = array(
128
+ array(
129
+ 'name' => 'upgrade_text',
130
+ 'desc' => __( 'Upgrade to Pro version to unlock more features!', MSWP_TEXT_DOMAIN ) . sprintf( ' <a href="http://www.masterslider.com/wordpress/pro/?msl" target="_blank">%s</a>', __( 'Checkout the list of features ..', MSWP_TEXT_DOMAIN ) ),
131
+ 'type' => 'plain_text',
132
+ 'label'=> __( 'Need more features?', MSWP_TEXT_DOMAIN )
133
+ )
134
+ );
135
+
136
  return $settings_fields;
137
  }
138
 
admin/views/setting/class-settings-api.php CHANGED
@@ -147,6 +147,20 @@ class WeDevs_Settings_API {
147
  }
148
  }
149
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
150
  /**
151
  * Displays a text field for a settings field
152
  *
@@ -514,6 +528,7 @@ class WeDevs_Settings_API {
514
  </script>
515
  <style type="text/css">
516
  .nav-tab-wrapper { margin-bottom:30px; }
 
517
  </style>
518
  <?php
519
  }
147
  }
148
  }
149
 
150
+ /**
151
+ * Displays a plain text
152
+ *
153
+ * @param array $args settings field args
154
+ */
155
+ function callback_plain_text( $args ) {
156
+
157
+ $size = isset( $args['size'] ) && !is_null( $args['size'] ) ? $args['size'] : 'regular';
158
+
159
+ $html .= sprintf( '<span> %s</span>', $args['desc'] );
160
+
161
+ echo $html;
162
+ }
163
+
164
  /**
165
  * Displays a text field for a settings field
166
  *
528
  </script>
529
  <style type="text/css">
530
  .nav-tab-wrapper { margin-bottom:30px; }
531
+ .error, .update { display:none; }
532
  </style>
533
  <?php
534
  }
admin/views/slider-panel/index.php CHANGED
@@ -12,9 +12,7 @@
12
  ?>
13
 
14
  <!-- markup for slider panel page here. -->
15
- <div id="msp-header">
16
- <div class="msp-logo"><a href="?page=masterslider"><img src="<?php echo MSWP_AVERTA_ADMIN_URL . '/views/slider-panel'; ?>/images/masterslider.gif" ></a></div>
17
- </div>
18
  <div id="panelLoading" class="msp-loading">
19
  <img src="<?php echo MSWP_AVERTA_ADMIN_URL . '/views/slider-panel'; ?>/images/loading.gif">
20
  <?php _e('Loading data...', MSWP_TEXT_DOMAIN); ?>
12
  ?>
13
 
14
  <!-- markup for slider panel page here. -->
15
+ <?php msp_get_panel_header(); ?>
 
 
16
  <div id="panelLoading" class="msp-loading">
17
  <img src="<?php echo MSWP_AVERTA_ADMIN_URL . '/views/slider-panel'; ?>/images/loading.gif">
18
  <?php _e('Loading data...', MSWP_TEXT_DOMAIN); ?>
includes/init/define.php CHANGED
@@ -5,7 +5,7 @@ if ( ! defined('ABSPATH') ) {
5
  die();
6
  }
7
 
8
- define( 'MSWP_AVERTA_VERSION' , '1.2.1' );
9
 
10
  define( 'MSWP_SLUG' , 'master-slider' );
11
  define( 'MSWP_TEXT_DOMAIN' , 'masterslider' );
5
  die();
6
  }
7
 
8
+ define( 'MSWP_AVERTA_VERSION' , '1.2.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: 1.2.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: 1.2.5
15
  * Author: averta
16
  * Author URI: http://averta.net
17
  * Text Domain: master-slider