Master Slider – Responsive Touch Slider - Version 3.6.2

Version Description

Download this release

Release Info

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

Code changes from version 3.6.0 to 3.6.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: 4.8
9
- Tested up to: 5.5.0
10
- Stable tag: 3.6.0
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.6.0 =
 
 
 
241
 
242
  = Version 3.6.0/ (15.08.2020) =
243
  - [Improvement]: Compatibility with WordPress 5.5.0 applied.
@@ -477,6 +480,5 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/master-sl
477
 
478
  == Upgrade Notice ==
479
 
480
- = Version 3.6.0/ (15.08.2020) =
481
- - [Improvement]: Compatibility with WordPress 5.5.0 applied.
482
  - [Fix]: Minor bugs fix.
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: 4.8
9
+ Tested up to: 5.5.1
10
+ Stable tag: 3.6.2
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.6.2 =
241
+
242
+ = Version 3.6.2/ (08.09.2020) =
243
+ - [Fix]: Minor bugs fix.
244
 
245
  = Version 3.6.0/ (15.08.2020) =
246
  - [Improvement]: Compatibility with WordPress 5.5.0 applied.
480
 
481
  == Upgrade Notice ==
482
 
483
+ = Version 3.6.2/ (08.09.2020) =
 
484
  - [Fix]: Minor bugs fix.
admin/assets/css/global.css CHANGED
@@ -48,3 +48,73 @@
48
  padding: 15px;
49
  margin: 0;
50
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  padding: 15px;
49
  margin: 0;
50
  }
51
+ .msp-rate {
52
+ padding: 30px 43px;
53
+ }
54
+
55
+ .msp-notice-image {
56
+ float: left;
57
+ margin-right: 30px;
58
+ }
59
+ .rate-btn {
60
+ position: relative;
61
+ padding: 9px 23px 11px;
62
+ overflow: hidden;
63
+ margin-top: 20px;
64
+ margin-right: 10px;
65
+ border: 2px solid #3D3D3D;
66
+ border-radius: 100em;
67
+ display: inline-block;
68
+ }
69
+ .msp-rate .rate-btn button{
70
+ position: relative;
71
+ border: none;
72
+ background-color: transparent;
73
+ color: #3D3D3D;
74
+ cursor: pointer;
75
+ font-weight: 600;
76
+ font-size: 14px;
77
+ letter-spacing: 0;
78
+ outline: none;
79
+ -webkit-transition: color 450ms cubic-bezier(0.75, 0.1, 0.25, 0.9);
80
+ transition: color 450ms cubic-bezier(0.75, 0.1, 0.25, 0.9);
81
+ }
82
+
83
+ .rate-btn:not(.skip-btn) {
84
+ background-color: #2C87FF;
85
+ color: #fff;
86
+ border-color: #2C87FF;
87
+ }
88
+ .rate-btn:not(.skip-btn) button {
89
+ color: #fff;
90
+ }
91
+ .rate-btn.skip-btn:hover button {
92
+ color: #fff;
93
+ }
94
+ .rate-btn .msp-overlay {
95
+ position: absolute;
96
+ width: 120%;
97
+ top: 50%;
98
+ left: 50%;
99
+ -webkit-transform: translate(-50%, -50%) scale(0, 0);
100
+ -ms-transform: translate(-50%, -50%) scale(0, 0);
101
+ transform: translate(-50%, -50%) scale(0, 0);
102
+ -webkit-transition: -webkit-transform 450ms cubic-bezier(0.75, 0.1, 0.25, 0.9);
103
+ transition: transform 450ms cubic-bezier(0.75, 0.1, 0.25, 0.9);
104
+ }
105
+ .rate-btn .msp-overlay:after {
106
+ position: relative;
107
+ content: '';
108
+ border-radius: 50%;
109
+ display: block;
110
+ padding-top: 100%;
111
+ background-color: #3D3D3D;
112
+ }
113
+ .rate-btn:not(.skip-btn) .msp-overlay:after {
114
+ background-color: #2C87FF;
115
+ }
116
+ .rate-btn:hover .msp-overlay {
117
+ -webkit-transform: translate(-50%, -50%) scale(1, 1);
118
+ -ms-transform: translate(-50%, -50%) scale(1, 1);
119
+ transform: translate(-50%, -50%) scale(1, 1);
120
+ }
admin/assets/css/images/rating.svg ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110.429 106.786">
2
+ <defs>
3
+ <style>
4
+ .cls-1 {
5
+ fill: #ffc258;
6
+ }
7
+
8
+ .cls-2 {
9
+ fill: #61c4f2;
10
+ }
11
+
12
+ .cls-3 {
13
+ fill: #263357;
14
+ }
15
+
16
+ .cls-4 {
17
+ fill: #f86464;
18
+ }
19
+
20
+ .cls-5 {
21
+ fill: #fff;
22
+ }
23
+ </style>
24
+ </defs>
25
+ <g id="Group_410" data-name="Group 410" transform="translate(0 -0.025)">
26
+ <g id="Group_374" data-name="Group 374" transform="translate(4.808 12.137)">
27
+ <g id="Group_373" data-name="Group 373">
28
+ <path id="Path_295" data-name="Path 295" class="cls-1" d="M73.586,45.32a7.292,7.292,0,0,1,8.728-6.657,7.473,7.473,0,0,1,5.917,6.657h11.39a3.315,3.315,0,0,0,3.328-3.328V19.728A3.315,3.315,0,0,0,99.621,16.4H10.346C8.5,16.4,6.5,17.879,6.5,19.728V42.066c0,1.849,2,3.328,3.846,3.328H20.775s4.512,3.476,0,12.278c11.76-3.18,12.5-12.2,12.5-12.2C35.494,45.32,49.177,45.32,73.586,45.32Z" transform="translate(-6.5 -16.4)"/>
29
+ </g>
30
+ </g>
31
+ <g id="Group_375" data-name="Group 375" transform="translate(64.793 65.613)">
32
+ <path id="Path_296" data-name="Path 296" class="cls-2" d="M90.559,89.588c2.367,8.432,6.583,23,14.867,23h19.6l-.666,4.956-24.112.444L92.26,106.6,87.6,88.7Z" transform="translate(-87.6 -88.7)"/>
33
+ </g>
34
+ <g id="Group_382" data-name="Group 382" transform="translate(62.821 36.547)">
35
+ <g id="Group_376" data-name="Group 376" transform="translate(18.466 16.566)">
36
+ <path id="Path_297" data-name="Path 297" class="cls-3" d="M117.075,80.972v-4.29c0-2.589-4.216-2.589-4.216,0v3.4a1.48,1.48,0,0,1-2.959,0v-3.4a5.032,5.032,0,0,1,10.059,0v4.29A1.442,1.442,0,1,1,117.075,80.972Z" transform="translate(-109.9 -71.8)"/>
37
+ </g>
38
+ <g id="Group_377" data-name="Group 377" transform="translate(25.64 18.119)">
39
+ <path id="Path_298" data-name="Path 298" class="cls-3" d="M126.775,83.072v-4.29c0-2.589-4.216-2.589-4.216,0v3.4a1.48,1.48,0,0,1-2.959,0v-3.4a5.032,5.032,0,0,1,10.059,0v4.29A1.443,1.443,0,1,1,126.775,83.072Z" transform="translate(-119.6 -73.9)"/>
40
+ </g>
41
+ <g id="Group_378" data-name="Group 378">
42
+ <path id="Path_299" data-name="Path 299" class="cls-3" d="M97.187,107.759c-9.246-13.905-8.062-11.391-12.2-28.624-.666-2.663,5.7-3.107,8.358,1.035,1.627,2.441,1.479,3.772,2.885,6.065V54.5a4.982,4.982,0,0,1,1.849-3.92,5.064,5.064,0,0,1,8.284,4.068V71.738a1.48,1.48,0,0,1-2.959,0V54.652A2.156,2.156,0,0,0,99.924,52.8c-1.109.888-.814-1.109-.814,34.393A2.63,2.63,0,0,1,94.3,88.676c-2.811-4.142-2.515-8.21-6.139-8.58,3.7,15.533,2.811,13.24,11.391,26.035a1.437,1.437,0,1,1-2.367,1.627Z" transform="translate(-84.934 -49.403)"/>
43
+ </g>
44
+ <g id="Group_379" data-name="Group 379" transform="translate(32.811 20.845)">
45
+ <path id="Path_300" data-name="Path 300" class="cls-3" d="M133.662,113.469c2.219-6.361,1.775-11.095,1.775-31.509a1.634,1.634,0,0,0-2.737-1.035c-.592.592-.444,1.109-.444,2.293a1.48,1.48,0,0,1-2.959,0c0-1.331-.148-2.959,1.331-4.364a4.547,4.547,0,0,1,7.692,3.106c0,20.34.518,25.518-1.923,32.544A1.463,1.463,0,0,1,133.662,113.469Z" transform="translate(-129.294 -77.586)"/>
46
+ </g>
47
+ <g id="Group_380" data-name="Group 380" transform="translate(9.22 56.063)">
48
+ <path id="Path_301" data-name="Path 301" class="cls-3" d="M127.134,135.851v-7.766H100.359v3.624a1.48,1.48,0,0,1-2.959,0v-5.03a1.484,1.484,0,0,1,1.479-1.479h29.734a1.484,1.484,0,0,1,1.479,1.479v9.246A1.48,1.48,0,0,1,127.134,135.851Z" transform="translate(-97.4 -125.2)"/>
49
+ </g>
50
+ <g id="Group_381" data-name="Group 381" transform="translate(13.793 60.958)">
51
+ <path id="Path_302" data-name="Path 302" class="cls-3" d="M103.965,134.911a1.939,1.939,0,1,1,3.18-2.219C108.7,134.764,105.444,136.982,103.965,134.911Z" transform="translate(-103.582 -131.819)"/>
52
+ </g>
53
+ </g>
54
+ <g id="Group_383" data-name="Group 383" transform="translate(9.098 16.427)">
55
+ <path id="Path_303" data-name="Path 303" class="cls-4" d="M19.918,22.2l2.367,4.734,5.325.814-3.846,3.7.888,5.251-4.734-2.515L15.259,36.7l.888-5.251-3.846-3.7,5.251-.814Z" transform="translate(-12.3 -22.2)"/>
56
+ </g>
57
+ <g id="Group_384" data-name="Group 384" transform="translate(26.914 16.427)">
58
+ <path id="Path_304" data-name="Path 304" class="cls-5" d="M52.118,22.2l2.367,4.734,5.251.814-3.772,3.7.888,5.251-4.734-2.515L47.385,36.7l.888-5.251-3.772-3.7,5.251-.814Z" transform="translate(-44.5 -22.2)"/>
59
+ </g>
60
+ <g id="Group_385" data-name="Group 385" transform="translate(45.657 16.427)">
61
+ <path id="Path_305" data-name="Path 305" class="cls-5" d="M84.292,22.2l2.293,4.734,5.325.814-3.846,3.7.888,5.251-4.66-2.515L79.559,36.7l.888-5.251-3.846-3.7,5.325-.814Z" transform="translate(-76.6 -22.2)"/>
62
+ </g>
63
+ <g id="Group_386" data-name="Group 386" transform="translate(62.473 16.427)">
64
+ <path id="Path_306" data-name="Path 306" class="cls-5" d="M116.418,22.2l2.367,4.734,5.251.814-3.772,3.7.888,5.251-4.734-2.515L111.685,36.7l.962-5.251-3.846-3.7,5.251-.814Z" transform="translate(-108.8 -22.2)"/>
65
+ </g>
66
+ <g id="Group_411" data-name="Group 411" transform="translate(80.473 16.427)">
67
+ <path id="Path_306-2" data-name="Path 306" class="cls-5" d="M116.418,22.2l2.367,4.734,5.251.814-3.772,3.7.888,5.251-4.734-2.515L111.685,36.7l.962-5.251-3.846-3.7,5.251-.814Z" transform="translate(-108.8 -22.2)"/>
68
+ </g>
69
+ <g id="Group_387" data-name="Group 387" transform="translate(9.098 16.427)">
70
+ <path id="Path_307" data-name="Path 307" class="cls-5" d="M19.918,22.2l2.367,4.734,5.325.814-3.846,3.7.888,5.251-4.734-2.515L15.259,36.7l.888-5.251-3.846-3.7,5.251-.814Z" transform="translate(-12.3 -22.2)"/>
71
+ </g>
72
+ <g id="Group_388" data-name="Group 388" transform="translate(32.803 61.471)">
73
+ <path id="Path_308" data-name="Path 308" class="cls-3" d="M71.976,86.059H45.792a1.48,1.48,0,0,1,0-2.959H71.976a1.479,1.479,0,1,1,0,2.959Z" transform="translate(-44.35 -83.1)"/>
74
+ </g>
75
+ <g id="Group_389" data-name="Group 389" transform="translate(53.957 70.347)">
76
+ <path id="Path_309" data-name="Path 309" class="cls-3" d="M79.422,98.059h-5.03a1.48,1.48,0,0,1,0-2.959h5.03A1.484,1.484,0,0,1,80.9,96.579,1.438,1.438,0,0,1,79.422,98.059Z" transform="translate(-72.95 -95.1)"/>
77
+ </g>
78
+ <g id="Group_390" data-name="Group 390" transform="translate(32.803 70.347)">
79
+ <path id="Path_310" data-name="Path 310" class="cls-3" d="M59.993,98.059h-14.2a1.48,1.48,0,0,1,0-2.959H59.919A1.484,1.484,0,0,1,61.4,96.579,1.38,1.38,0,0,1,59.993,98.059Z" transform="translate(-44.35 -95.1)"/>
80
+ </g>
81
+ <g id="Group_391" data-name="Group 391" transform="translate(32.803 82.699)">
82
+ <path id="Path_311" data-name="Path 311" class="cls-3" d="M71.976,114.759H45.792a1.48,1.48,0,0,1,0-2.959H71.976a1.479,1.479,0,1,1,0,2.959Z" transform="translate(-44.35 -111.8)"/>
83
+ </g>
84
+ <g id="Group_392" data-name="Group 392" transform="translate(32.803 91.574)">
85
+ <path id="Path_312" data-name="Path 312" class="cls-3" d="M57.775,126.759H45.792a1.48,1.48,0,0,1,0-2.959H57.7a1.484,1.484,0,0,1,1.479,1.479A1.422,1.422,0,0,1,57.775,126.759Z" transform="translate(-44.35 -123.8)"/>
86
+ </g>
87
+ <g id="Group_393" data-name="Group 393" transform="translate(8.284 59.03)">
88
+ <path id="Path_313" data-name="Path 313" class="cls-2" d="M23.552,97.33H16.378A5.193,5.193,0,0,1,11.2,92.152V84.978A5.193,5.193,0,0,1,16.378,79.8h7.175a5.193,5.193,0,0,1,5.178,5.178v7.175A5.146,5.146,0,0,1,23.552,97.33Zm-7.175-14.5a2.225,2.225,0,0,0-2.219,2.219v7.175a2.225,2.225,0,0,0,2.219,2.219h7.175a2.225,2.225,0,0,0,2.219-2.219V85.051a2.225,2.225,0,0,0-2.219-2.219Z" transform="translate(-11.2 -79.8)"/>
89
+ </g>
90
+ <g id="Group_394" data-name="Group 394" transform="translate(8.284 80.776)">
91
+ <path id="Path_314" data-name="Path 314" class="cls-2" d="M23.552,126.73H16.378a5.193,5.193,0,0,1-5.178-5.177v-7.175a5.193,5.193,0,0,1,5.178-5.177h7.175a5.193,5.193,0,0,1,5.178,5.177v7.175A5.146,5.146,0,0,1,23.552,126.73Zm-7.175-14.5a2.225,2.225,0,0,0-2.219,2.219v7.175a2.225,2.225,0,0,0,2.219,2.219h7.175a2.225,2.225,0,0,0,2.219-2.219v-7.175a2.225,2.225,0,0,0-2.219-2.219Z" transform="translate(-11.2 -109.2)"/>
92
+ </g>
93
+ <g id="Group_395" data-name="Group 395" transform="translate(12.76 60.432)">
94
+ <path id="Path_315" data-name="Path 315" class="cls-3" d="M17.731,88.651a1.465,1.465,0,0,1,2-2.145l3.033,2.811,6.361-7.1a1.469,1.469,0,0,1,2.219,1.923c-7.988,9.024-7.544,8.728-8.358,8.8C22.169,92.941,22.317,92.867,17.731,88.651Z" transform="translate(-17.252 -81.695)"/>
95
+ </g>
96
+ <g id="Group_396" data-name="Group 396" transform="translate(12.76 82.547)">
97
+ <path id="Path_316" data-name="Path 316" class="cls-3" d="M17.731,118.551a1.465,1.465,0,0,1,2-2.145l3.033,2.811,6.361-7.1a1.469,1.469,0,0,1,2.219,1.923c-7.988,8.95-7.544,8.654-8.358,8.728C22.169,122.767,22.317,122.693,17.731,118.551Z" transform="translate(-17.252 -111.595)"/>
98
+ </g>
99
+ <g id="Group_397" data-name="Group 397" transform="translate(25.481 48.897)">
100
+ <path id="Path_317" data-name="Path 317" class="cls-3" d="M75.463,69.059H35.892a1.48,1.48,0,0,1,0-2.959H75.537a1.484,1.484,0,0,1,1.479,1.479A1.6,1.6,0,0,1,75.463,69.059Z" transform="translate(-34.45 -66.1)"/>
101
+ </g>
102
+ <g id="Group_398" data-name="Group 398" transform="translate(0 48.897)">
103
+ <path id="Path_318" data-name="Path 318" class="cls-3" d="M63.905,124.014H4.66A4.64,4.64,0,0,1,0,119.354V70.76A4.64,4.64,0,0,1,4.66,66.1H18.713a1.48,1.48,0,0,1,0,2.959H4.66a1.674,1.674,0,0,0-1.7,1.7v48.595a1.674,1.674,0,0,0,1.7,1.7H63.905A1.48,1.48,0,0,1,63.905,124.014Z" transform="translate(0 -66.1)"/>
104
+ </g>
105
+ <g id="Group_399" data-name="Group 399" transform="translate(43.842 0.302)">
106
+ <path id="Path_319" data-name="Path 319" class="cls-3" d="M122.9,17.782V12.012a8.665,8.665,0,0,0-8.654-8.654H60.773a1.479,1.479,0,1,1,0-2.959h53.4a11.711,11.711,0,0,1,11.686,11.686v5.769C125.861,19.7,122.9,19.7,122.9,17.782Z" transform="translate(-59.275 -0.4)"/>
107
+ </g>
108
+ <g id="Group_400" data-name="Group 400" transform="translate(0.074 6.885)">
109
+ <path id="Path_320" data-name="Path 320" class="cls-3" d="M16.446,55.824c3.328-6.509,1.553-9.763.74-10.725H5.13A5.035,5.035,0,0,1,.1,40.069V14.33A5.035,5.035,0,0,1,5.13,9.3H98.842a5.035,5.035,0,0,1,5.03,5.03V40.143a5.035,5.035,0,0,1-5.03,5.03H87.156a1.479,1.479,0,1,1,0-2.959H98.842a1.989,1.989,0,0,0,2-2V14.33a1.989,1.989,0,0,0-2-2H5.13a1.989,1.989,0,0,0-2,2V40.143a1.989,1.989,0,0,0,2,2c13.166,0,12.944-.222,13.609.3.222.148,4.512,3.624,1.775,11.612,8.284-3.624,9.024-10.429,9.024-10.5a1.582,1.582,0,0,1,1.479-1.405H70.588a1.479,1.479,0,1,1,0,2.959H32.2c-.74,2.959-3.55,10.059-14.053,12.87A1.487,1.487,0,0,1,16.446,55.824Z" transform="translate(-0.1 -9.3)"/>
110
+ </g>
111
+ <g id="Group_401" data-name="Group 401" transform="translate(38.24 0.025)">
112
+ <path id="Path_321" data-name="Path 321" class="cls-3" d="M51.7,1.634a1.664,1.664,0,0,0,3.328,0A1.665,1.665,0,0,0,51.7,1.634Z" transform="translate(-51.7 -0.025)"/>
113
+ </g>
114
+ </g>
115
+ </svg>
admin/assets/js/global.js CHANGED
@@ -22,4 +22,25 @@
22
  );
23
 
24
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  })(jQuery, window, document);
22
  );
23
 
24
  });
25
+
26
+ $('.rate-btn').on('click', function(event){
27
+ var $this = $(this);
28
+ var delay = $this.hasClass('delay') ? 'delay' : '';
29
+ jQuery.post(
30
+ ajaxurl,
31
+ {
32
+ action : 'msp_dismiss_rate_notice', // the handler
33
+ msnonce : __MS_GLOBAL.dismiss_nonce,
34
+ delay : delay
35
+ },
36
+ function(res){
37
+ if( ! res.success ){
38
+ alert( res.data.message );
39
+ } else {
40
+ $this.parents('.msp-rate').find('button.notice-dismiss').click();
41
+ }
42
+ }
43
+ );
44
+
45
+ });
46
  })(jQuery, window, document);
admin/includes/classes/class-msp-admin-ajax.php CHANGED
@@ -13,6 +13,7 @@ class MSP_Admin_Ajax {
13
  add_action( 'wp_ajax_msp_panel_handler' , array( $this, 'save_panel_ajax' ) );
14
  add_action( 'wp_ajax_msp_create_new_handler', array( $this, 'create_new_slider' ) );
15
  add_action( 'wp_ajax_msp_dismiss_notice' , array( $this, 'dimiss_notice' ) );
 
16
  }
17
 
18
 
@@ -173,6 +174,21 @@ class MSP_Admin_Ajax {
173
  exit;// IMPORTANT
174
  }
175
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
176
 
177
  }
178
 
13
  add_action( 'wp_ajax_msp_panel_handler' , array( $this, 'save_panel_ajax' ) );
14
  add_action( 'wp_ajax_msp_create_new_handler', array( $this, 'create_new_slider' ) );
15
  add_action( 'wp_ajax_msp_dismiss_notice' , array( $this, 'dimiss_notice' ) );
16
+ add_action( 'wp_ajax_msp_dismiss_rate_notice', array( $this, 'dismiss_rate_notice') );
17
  }
18
 
19
 
174
  exit;// IMPORTANT
175
  }
176
 
177
+ /**
178
+ * Dismiss rate notice
179
+ */
180
+ public function dismiss_rate_notice() {
181
+
182
+ if ( empty( $_POST['msnonce'] ) || ! wp_verify_nonce( $_POST['msnonce'], "ms-dismiss-notice") ) {
183
+ wp_send_json_error( array( 'message' => __( 'Authorization failed! Notice cannot be closed.', 'master-slider' ) ) );
184
+ }
185
+ $expire_date = '';
186
+ if ( ! empty( $_POST['delay'] ) ) {
187
+ $expire_date = 3 * DAY_IN_SECONDS;
188
+ }
189
+ msp_set_transient( 'msp_rate_notice_missed', 'yes', $expire_date );
190
+ wp_send_json_success( array( 'message' => __( 'Successfully dismissed ..', 'master-slider' ) ) );
191
+ }
192
 
193
  }
194
 
includes/init/define.php CHANGED
@@ -5,7 +5,7 @@ if ( ! defined('ABSPATH') ) {
5
  die();
6
  }
7
 
8
- define( 'MSWP_AVERTA_VERSION' , '3.6.0' );
9
 
10
  define( 'MSWP_SLUG' , 'master-slider' );
11
  define( 'MSWP_TEXT_DOMAIN' , 'masterslider' );
5
  die();
6
  }
7
 
8
+ define( 'MSWP_AVERTA_VERSION' , '3.6.2' );
9
 
10
  define( 'MSWP_SLUG' , 'master-slider' );
11
  define( 'MSWP_TEXT_DOMAIN' , 'masterslider' );
includes/msp-hooks.php CHANGED
@@ -5,8 +5,27 @@ function msp_body_class( $classes ) {
5
  // add master slider spesific class to $classes array
6
  $classes[] = '_masterslider';
7
  $classes['msl'] = '_ms_version_' . MSWP_AVERTA_VERSION;
8
-
9
  return $classes;
10
  }
11
 
12
- add_filter( 'body_class', 'msp_body_class' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  // add master slider spesific class to $classes array
6
  $classes[] = '_masterslider';
7
  $classes['msl'] = '_ms_version_' . MSWP_AVERTA_VERSION;
8
+
9
  return $classes;
10
  }
11
 
12
+ add_filter( 'body_class', 'msp_body_class' );
13
+
14
+ add_action( 'admin_notices', 'msp_review_on_wordpress' );
15
+ function msp_review_on_wordpress() {
16
+ if ( msp_get_transient( 'msp_rate_notice_missed' ) == 'yes' ) {
17
+ return;
18
+ }
19
+ ?>
20
+ <div class="notice msp-rate notice-info is-dismissible">
21
+ <div class="msp-notice-image">
22
+ <img width="105" src="<?php echo MSWP_AVERTA_URL . '/admin/assets/css/images/rating.svg';?>">
23
+ </div>
24
+ <h3><?php echo esc_html__( 'Hi! Thank you so much for using Master Slider.', 'master-slider' );?></h3>
25
+ <p><?php echo esc_html__( 'Could you please do us a HUGE favor? If you could take 2 min of your time, we would be really thankful if you give Master Slider a 5-star rating on WordPress. By spreading the love, we can push Master Slider forward and create even greater free stuff in the future!', 'master-slider' ); ?></p>
26
+ <a class="rate-btn" href="https://wordpress.org/support/plugin/master-slider/reviews/?filter=5#new-post" target="_blank"><span class="msp-overlay"></span><button ><?php echo esc_html__( 'Sure, I like Master slider', 'master-slider' );?></button></a>
27
+ <a class="rate-btn skip-btn delay" href="#"><span class="msp-overlay"></span><button><?php echo esc_html__( 'Maybe Later', 'master-slider' );?></button></a>
28
+ <a class="rate-btn skip-btn" href="#"><span class="msp-overlay"></span><button><?php echo esc_html__( 'I Already Did :)', 'master-slider' );?></button></a>
29
+ </div>
30
+ <?php
31
+ }
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.6.0
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: 5.5.0
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.6.2
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: 5.5.1
21
  */
22
 
23
  // If this file is called directly, abort.