Ultimate Responsive Image Slider Plugin - Version 2.9.2

Version Description

Download this release

Release Info

Developer weblizar
Plugin Icon 128x128 Ultimate Responsive Image Slider Plugin
Version 2.9.2
Comparing to
See all releases

Code changes from version 2.9.1 to 2.9.2

readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.weblizar.com/
4
  Tags: best slider plugin, carousel, carousel slider, coin slider, content slider, content slideshow, featured-content-slider, flex slider, free video slider, Horizontal slider, HTML5 slider, image, Image Rotator, image slider, image slideshow, images, javascript slider, javascript slideshow, jquery slider, jquery slideshow, media, nivo slider, nivoslider, page, photo slider, picture slider, plugin, Post, posts, posts slider, recent post slider, responsive, responsive slider, responsive slideshow, seo, slide, slide show, slider, slider plugin, slider shortcode, slides, slideshow, slideshow manager, slideshow plugin, vertical slider, vertical slides, wordpress seo, wordpress slider, wordpress slideshow, wp, wp slider, thumbnail slider, responsive image slider, slider plugin, mobile slider, tab slider, touch slider, text slider, link slider, media slider, 3d slider , awesome slider, wordpress slider plugin, meta slider, free slider, free plugin, gpl slider, Responsive Touch Slider, easy slider , simple slider, image slideshow, lightbox, popbox, gallery, image gallery, slider gallery, photo gallery, thumbnail, portfolio, portfolio gallery, slider portfolio, css slider, jquery plugin, jquery slider plugin, jquery slideshow plugin, animation, animation slider, navigation slider, bullet slider, html5, css3 slider, css3 slideshow, responsive images, responsive, post slider, page slider, wordpress photos slider , wordpress photos slideshow, responsive 3d slider, slideshow
5
  Requires at least: 3.5
6
  Tested up to: 4.4
7
- Stable tag: 2.9.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -139,6 +139,9 @@ If you have any question contact us at here: [Plugin Support Forum ](http://word
139
 
140
  For more information, see Weblizar(http://wwww.weblizar.com/).
141
 
 
 
 
142
  = Version 2.9.1 30-12-2015 =
143
  * Small Update
144
 
4
  Tags: best slider plugin, carousel, carousel slider, coin slider, content slider, content slideshow, featured-content-slider, flex slider, free video slider, Horizontal slider, HTML5 slider, image, Image Rotator, image slider, image slideshow, images, javascript slider, javascript slideshow, jquery slider, jquery slideshow, media, nivo slider, nivoslider, page, photo slider, picture slider, plugin, Post, posts, posts slider, recent post slider, responsive, responsive slider, responsive slideshow, seo, slide, slide show, slider, slider plugin, slider shortcode, slides, slideshow, slideshow manager, slideshow plugin, vertical slider, vertical slides, wordpress seo, wordpress slider, wordpress slideshow, wp, wp slider, thumbnail slider, responsive image slider, slider plugin, mobile slider, tab slider, touch slider, text slider, link slider, media slider, 3d slider , awesome slider, wordpress slider plugin, meta slider, free slider, free plugin, gpl slider, Responsive Touch Slider, easy slider , simple slider, image slideshow, lightbox, popbox, gallery, image gallery, slider gallery, photo gallery, thumbnail, portfolio, portfolio gallery, slider portfolio, css slider, jquery plugin, jquery slider plugin, jquery slideshow plugin, animation, animation slider, navigation slider, bullet slider, html5, css3 slider, css3 slideshow, responsive images, responsive, post slider, page slider, wordpress photos slider , wordpress photos slideshow, responsive 3d slider, slideshow
5
  Requires at least: 3.5
6
  Tested up to: 4.4
7
+ Stable tag: 2.9.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
139
 
140
  For more information, see Weblizar(http://wwww.weblizar.com/).
141
 
142
+ = Version 2.9.1 30-12-2015 =
143
+ * Sanitized all plugin settings on posting
144
+
145
  = Version 2.9.1 30-12-2015 =
146
  * Small Update
147
 
ultimate-responsive-image-slider-settings-meta-box.php CHANGED
@@ -7,139 +7,139 @@ $WRIS_Gallery_Settings_Key = "WRIS_Gallery_Settings_".$PostId;
7
  $WRIS_Gallery_Settings = unserialize(get_post_meta( $PostId, $WRIS_Gallery_Settings_Key, true));
8
  if($WRIS_Gallery_Settings['WRIS_L3_Slider_Width'] && $WRIS_Gallery_Settings['WRIS_L3_Slider_Height']) {
9
  if(isset($WRIS_Gallery_Settings['WRIS_L3_Slide_Title']))
10
- $WRIS_L3_Slide_Title = $WRIS_Gallery_Settings['WRIS_L3_Slide_Title'];
11
- else
12
- $WRIS_L3_Slide_Title = 1;
13
-
14
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Auto_Slideshow']))
15
- $WRIS_L3_Auto_Slideshow = $WRIS_Gallery_Settings['WRIS_L3_Auto_Slideshow'];
16
- else
17
- $WRIS_L3_Auto_Slideshow = 1;
18
-
19
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Transition']))
20
- $WRIS_L3_Transition = $WRIS_Gallery_Settings['WRIS_L3_Transition'];
21
- else
22
- $WRIS_L3_Transition = 1;
23
-
24
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Transition_Speed']))
25
- $WRIS_L3_Transition_Speed = $WRIS_Gallery_Settings['WRIS_L3_Transition_Speed'];
26
- else
27
- $WRIS_L3_Transition_Speed = 5000;
28
-
29
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Slide_Order']))
30
- $WRIS_L3_Slide_Order = $WRIS_Gallery_Settings['WRIS_L3_Slide_Order'];
31
- else
32
- $WRIS_L3_Slide_Order = "ASC";
33
-
34
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Slide_Distance']))
35
- $WRIS_L3_Slide_Distance = $WRIS_Gallery_Settings['WRIS_L3_Slide_Distance'];
36
- else
37
- $WRIS_L3_Slide_Distance = 5;
38
-
39
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Sliding_Arrow']))
40
- $WRIS_L3_Sliding_Arrow = $WRIS_Gallery_Settings['WRIS_L3_Sliding_Arrow'];
41
- else
42
- $WRIS_L3_Sliding_Arrow = 1;
43
-
44
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Slider_Navigation']))
45
- $WRIS_L3_Slider_Navigation = $WRIS_Gallery_Settings['WRIS_L3_Slider_Navigation'];
46
- else
47
- $WRIS_L3_Slider_Navigation = 1;
48
-
49
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Navigation_Position']))
50
- $WRIS_L3_Navigation_Position = $WRIS_Gallery_Settings['WRIS_L3_Navigation_Position'];
51
- else
52
- $WRIS_L3_Navigation_Position = "bottom";
53
-
54
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Thumbnail_Style']))
55
- $WRIS_L3_Thumbnail_Style = $WRIS_Gallery_Settings['WRIS_L3_Thumbnail_Style'];
56
- else
57
- $WRIS_L3_Thumbnail_Style = "border";
58
-
59
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Thumbnail_Width']))
60
- $WRIS_L3_Thumbnail_Width = $WRIS_Gallery_Settings['WRIS_L3_Thumbnail_Width'];
61
- else
62
- $WRIS_L3_Thumbnail_Width = 120;
63
-
64
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Thumbnail_Height']))
65
- $WRIS_L3_Thumbnail_Height = $WRIS_Gallery_Settings['WRIS_L3_Thumbnail_Height'];
66
- else
67
- $WRIS_L3_Thumbnail_Height = 100;
68
-
69
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Navigation_Button']))
70
- $WRIS_L3_Navigation_Button = $WRIS_Gallery_Settings['WRIS_L3_Navigation_Button'];
71
- else
72
- $WRIS_L3_Navigation_Button = 1;
73
-
74
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Width']))
75
- $WRIS_L3_Width = $WRIS_Gallery_Settings['WRIS_L3_Width'];
76
- else
77
- $WRIS_L3_Width = "custom";
78
-
79
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Slider_Width']))
80
- $WRIS_L3_Slider_Width = $WRIS_Gallery_Settings['WRIS_L3_Slider_Width'];
81
- else
82
- $WRIS_L3_Slider_Width = 1000;
83
 
84
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Height']))
85
- $WRIS_L3_Height = $WRIS_Gallery_Settings['WRIS_L3_Height'];
86
- else
87
- $WRIS_L3_Height = "custom";
88
-
89
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Slider_Height']))
90
- $WRIS_L3_Slider_Height = $WRIS_Gallery_Settings['WRIS_L3_Slider_Height'];
91
- else
92
- $WRIS_L3_Slider_Height = 500;
93
-
94
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Font_Style']))
95
- $WRIS_L3_Font_Style = $WRIS_Gallery_Settings['WRIS_L3_Font_Style'];
96
- else
97
- $WRIS_L3_Font_Style = "Arial";
98
-
99
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Title_Color']))
100
- $WRIS_L3_Title_Color = $WRIS_Gallery_Settings['WRIS_L3_Title_Color'];
101
- else
102
- $WRIS_L3_Title_Color = "#00000";
103
-
104
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Title_BgColor']))
105
- $WRIS_L3_Title_BgColor = $WRIS_Gallery_Settings['WRIS_L3_Title_BgColor'];
106
- else
107
- $WRIS_L3_Title_BgColor = "#FFFFFF";
108
-
109
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Desc_Color']))
110
- $WRIS_L3_Desc_Color = $WRIS_Gallery_Settings['WRIS_L3_Desc_Color'];
111
- else
112
- $WRIS_L3_Desc_Color = "#FFFFFF";
113
-
114
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Desc_BgColor']))
115
- $WRIS_L3_Desc_BgColor = $WRIS_Gallery_Settings['WRIS_L3_Desc_BgColor'];
116
- else
117
- $WRIS_L3_Desc_BgColor = "#00000";
118
-
119
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Navigation_Color']))
120
- $WRIS_L3_Navigation_Color = $WRIS_Gallery_Settings['WRIS_L3_Navigation_Color'];
121
- else
122
- $WRIS_L3_Navigation_Color = "#FFFFFF";
 
 
 
 
 
 
 
 
 
 
123
 
124
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Fullscreeen']))
125
- $WRIS_L3_Fullscreeen = $WRIS_Gallery_Settings['WRIS_L3_Fullscreeen'];
126
- else
127
- $WRIS_L3_Fullscreeen = 1;
128
 
129
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Custom_CSS']))
130
- $WRIS_L3_Custom_CSS = $WRIS_Gallery_Settings['WRIS_L3_Custom_CSS'];
131
- else
132
- $WRIS_L3_Custom_CSS = "";
133
-
134
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Navigation_Bullets_Color']))
135
- $WRIS_L3_Navigation_Bullets_Color = $WRIS_Gallery_Settings['WRIS_L3_Navigation_Bullets_Color'];
136
- else
137
- $WRIS_L3_Navigation_Bullets_Color = "#000000";
138
-
139
- if(isset($WRIS_Gallery_Settings['WRIS_L3_Navigation_Pointer_Color']))
140
- $WRIS_L3_Navigation_Pointer_Color = $WRIS_Gallery_Settings['WRIS_L3_Navigation_Pointer_Color'];
141
- else
142
- $WRIS_L3_Navigation_Pointer_Color = "#000000";
143
  }
144
  ?>
145
  <style>
@@ -202,7 +202,7 @@ if($WRIS_Gallery_Settings['WRIS_L3_Slider_Width'] && $WRIS_Gallery_Settings['WRI
202
  <?php if(!isset($WRIS_L3_Transition_Speed)) $WRIS_L3_Transition_Speed = 5000; ?>
203
  <input type="text" name="wl-l3-transition-speed" id="wl-l3-transition-speed" value="<?php echo $WRIS_L3_Transition_Speed; ?>">
204
  <p class="description">
205
- <?php _e('Set your desired transition speed of slides. Default width is 5000px', WRIS_TEXT_DOMAIN); ?>.
206
  </p>
207
  </td>
208
  </tr>
7
  $WRIS_Gallery_Settings = unserialize(get_post_meta( $PostId, $WRIS_Gallery_Settings_Key, true));
8
  if($WRIS_Gallery_Settings['WRIS_L3_Slider_Width'] && $WRIS_Gallery_Settings['WRIS_L3_Slider_Height']) {
9
  if(isset($WRIS_Gallery_Settings['WRIS_L3_Slide_Title']))
10
+ $WRIS_L3_Slide_Title = $WRIS_Gallery_Settings['WRIS_L3_Slide_Title'];
11
+ else
12
+ $WRIS_L3_Slide_Title = 1;
13
+
14
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Auto_Slideshow']))
15
+ $WRIS_L3_Auto_Slideshow = $WRIS_Gallery_Settings['WRIS_L3_Auto_Slideshow'];
16
+ else
17
+ $WRIS_L3_Auto_Slideshow = 1;
18
+
19
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Transition']))
20
+ $WRIS_L3_Transition = $WRIS_Gallery_Settings['WRIS_L3_Transition'];
21
+ else
22
+ $WRIS_L3_Transition = 1;
23
+
24
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Transition_Speed']))
25
+ $WRIS_L3_Transition_Speed = $WRIS_Gallery_Settings['WRIS_L3_Transition_Speed'];
26
+ else
27
+ $WRIS_L3_Transition_Speed = 5000;
28
+
29
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Slide_Order']))
30
+ $WRIS_L3_Slide_Order = $WRIS_Gallery_Settings['WRIS_L3_Slide_Order'];
31
+ else
32
+ $WRIS_L3_Slide_Order = "ASC";
33
+
34
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Slide_Distance']))
35
+ $WRIS_L3_Slide_Distance = $WRIS_Gallery_Settings['WRIS_L3_Slide_Distance'];
36
+ else
37
+ $WRIS_L3_Slide_Distance = 5;
38
+
39
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Sliding_Arrow']))
40
+ $WRIS_L3_Sliding_Arrow = $WRIS_Gallery_Settings['WRIS_L3_Sliding_Arrow'];
41
+ else
42
+ $WRIS_L3_Sliding_Arrow = 1;
43
+
44
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Slider_Navigation']))
45
+ $WRIS_L3_Slider_Navigation = $WRIS_Gallery_Settings['WRIS_L3_Slider_Navigation'];
46
+ else
47
+ $WRIS_L3_Slider_Navigation = 1;
48
+
49
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Navigation_Position']))
50
+ $WRIS_L3_Navigation_Position = $WRIS_Gallery_Settings['WRIS_L3_Navigation_Position'];
51
+ else
52
+ $WRIS_L3_Navigation_Position = "bottom";
53
+
54
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Thumbnail_Style']))
55
+ $WRIS_L3_Thumbnail_Style = $WRIS_Gallery_Settings['WRIS_L3_Thumbnail_Style'];
56
+ else
57
+ $WRIS_L3_Thumbnail_Style = "border";
58
+
59
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Thumbnail_Width']))
60
+ $WRIS_L3_Thumbnail_Width = $WRIS_Gallery_Settings['WRIS_L3_Thumbnail_Width'];
61
+ else
62
+ $WRIS_L3_Thumbnail_Width = 120;
63
+
64
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Thumbnail_Height']))
65
+ $WRIS_L3_Thumbnail_Height = $WRIS_Gallery_Settings['WRIS_L3_Thumbnail_Height'];
66
+ else
67
+ $WRIS_L3_Thumbnail_Height = 100;
68
+
69
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Navigation_Button']))
70
+ $WRIS_L3_Navigation_Button = $WRIS_Gallery_Settings['WRIS_L3_Navigation_Button'];
71
+ else
72
+ $WRIS_L3_Navigation_Button = 1;
73
+
74
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Width']))
75
+ $WRIS_L3_Width = $WRIS_Gallery_Settings['WRIS_L3_Width'];
76
+ else
77
+ $WRIS_L3_Width = "custom";
78
+
79
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Slider_Width']))
80
+ $WRIS_L3_Slider_Width = $WRIS_Gallery_Settings['WRIS_L3_Slider_Width'];
81
+ else
82
+ $WRIS_L3_Slider_Width = 1000;
83
 
84
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Height']))
85
+ $WRIS_L3_Height = $WRIS_Gallery_Settings['WRIS_L3_Height'];
86
+ else
87
+ $WRIS_L3_Height = "custom";
88
+
89
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Slider_Height']))
90
+ $WRIS_L3_Slider_Height = $WRIS_Gallery_Settings['WRIS_L3_Slider_Height'];
91
+ else
92
+ $WRIS_L3_Slider_Height = 500;
93
+
94
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Font_Style']))
95
+ $WRIS_L3_Font_Style = $WRIS_Gallery_Settings['WRIS_L3_Font_Style'];
96
+ else
97
+ $WRIS_L3_Font_Style = "Arial";
98
+
99
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Title_Color']))
100
+ $WRIS_L3_Title_Color = $WRIS_Gallery_Settings['WRIS_L3_Title_Color'];
101
+ else
102
+ $WRIS_L3_Title_Color = "#00000";
103
+
104
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Title_BgColor']))
105
+ $WRIS_L3_Title_BgColor = $WRIS_Gallery_Settings['WRIS_L3_Title_BgColor'];
106
+ else
107
+ $WRIS_L3_Title_BgColor = "#FFFFFF";
108
+
109
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Desc_Color']))
110
+ $WRIS_L3_Desc_Color = $WRIS_Gallery_Settings['WRIS_L3_Desc_Color'];
111
+ else
112
+ $WRIS_L3_Desc_Color = "#FFFFFF";
113
+
114
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Desc_BgColor']))
115
+ $WRIS_L3_Desc_BgColor = $WRIS_Gallery_Settings['WRIS_L3_Desc_BgColor'];
116
+ else
117
+ $WRIS_L3_Desc_BgColor = "#00000";
118
+
119
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Navigation_Color']))
120
+ $WRIS_L3_Navigation_Color = $WRIS_Gallery_Settings['WRIS_L3_Navigation_Color'];
121
+ else
122
+ $WRIS_L3_Navigation_Color = "#FFFFFF";
123
+
124
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Fullscreeen']))
125
+ $WRIS_L3_Fullscreeen = $WRIS_Gallery_Settings['WRIS_L3_Fullscreeen'];
126
+ else
127
+ $WRIS_L3_Fullscreeen = 1;
128
+
129
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Custom_CSS']))
130
+ $WRIS_L3_Custom_CSS = $WRIS_Gallery_Settings['WRIS_L3_Custom_CSS'];
131
+ else
132
+ $WRIS_L3_Custom_CSS = "";
133
 
134
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Navigation_Bullets_Color']))
135
+ $WRIS_L3_Navigation_Bullets_Color = $WRIS_Gallery_Settings['WRIS_L3_Navigation_Bullets_Color'];
136
+ else
137
+ $WRIS_L3_Navigation_Bullets_Color = "#000000";
138
 
139
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Navigation_Pointer_Color']))
140
+ $WRIS_L3_Navigation_Pointer_Color = $WRIS_Gallery_Settings['WRIS_L3_Navigation_Pointer_Color'];
141
+ else
142
+ $WRIS_L3_Navigation_Pointer_Color = "#000000";
 
 
 
 
 
 
 
 
 
 
143
  }
144
  ?>
145
  <style>
202
  <?php if(!isset($WRIS_L3_Transition_Speed)) $WRIS_L3_Transition_Speed = 5000; ?>
203
  <input type="text" name="wl-l3-transition-speed" id="wl-l3-transition-speed" value="<?php echo $WRIS_L3_Transition_Speed; ?>">
204
  <p class="description">
205
+ <?php _e('Set your desired transition speed of slides. Default speed is 5000 in millisecond', WRIS_TEXT_DOMAIN); ?>.
206
  </p>
207
  </td>
208
  </tr>
ultimate-responsive-image-slider.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Ultimate Responsive Image Slider
4
- * Version: 2.9.1
5
  * Description: Add unlimited image slides using Ultimate Responsive Image Slider in any Page and Post content to give an attractive mode to represent contents.
6
  * Author: Weblizar
7
  * Author URI: https://weblizar.com/plugins/ultimate-responsive-image-slider-pro/
@@ -35,9 +35,8 @@ function WRIS_DefaultSettingsPro() {
35
  "WRIS_L3_Navigation_Color" => "#000000",
36
  "WRIS_L3_Fullscreeen" => 1,
37
  "WRIS_L3_Custom_CSS" => "",
38
-
39
  'WRIS_L3_Slide_Order' => "ASC",
40
- 'WRIS_L3_Navigation_Position' => "bottom",
41
  'WRIS_L3_Slide_Distance' => 5,
42
  'WRIS_L3_Thumbnail_Style' => "border",
43
  'WRIS_L3_Thumbnail_Width' => 120,
@@ -143,6 +142,7 @@ class WRIS {
143
  if (is_admin()) {
144
  add_action('plugins_loaded', array(&$this, 'WRIS_Translate'), 1);
145
  add_action('init', array(&$this, 'ResponsiveImageSlider'), 1);
 
146
  add_action('add_meta_boxes', array(&$this, 'add_all_ris_meta_boxes'));
147
  add_action('admin_init', array(&$this, 'add_all_ris_meta_boxes'), 1);
148
 
@@ -393,7 +393,7 @@ class WRIS {
393
  }
394
 
395
  public function admin_thumb_uris($id) {
396
- $image = wp_get_attachment_image_src($id, 'rpggallery_admin_original', true);
397
  $image1 = wp_get_attachment_image_src($id, 'rpggallery_admin_thumb', true);
398
  $image3 = wp_get_attachment_image_src($id, 'rpggallery_admin_large', true);
399
  $UniqueString = substr(str_shuffle("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, 5);
@@ -431,11 +431,11 @@ class WRIS {
431
  $ImagesArray = array();
432
  if($TotalImages) {
433
  for($i=0; $i < $TotalImages; $i++) {
434
- $image_label = stripslashes($_POST['rpgp_image_label'][$i]);
435
- $image_desc = stripslashes($_POST['rpgp_image_desc'][$i]);
436
- $url = $_POST['rpgp_image_url'][$i];
437
- $url1 = $_POST['rpggallery_admin_thumb'][$i];
438
- $url3 = $_POST['rpggallery_admin_large'][$i];
439
  $ImagesArray[] = array(
440
  'rpgp_image_label' => $image_label,
441
  'rpgp_image_desc' => $image_desc,
@@ -459,64 +459,62 @@ class WRIS {
459
  public function ris_settings_meta_save($PostID) {
460
  if(isset($PostID) && isset($_POST['wl_action']) == "wl-save-settings") {
461
 
462
- $WRIS_L3_Slide_Title = $_POST['wl-l3-slide-title'];
463
- $WRIS_L3_Auto_Slideshow = $_POST['wl-l3-auto-slide'];
464
- $WRIS_L3_Transition = $_POST['wl-l3-transition'];
465
- $WRIS_L3_Transition_Speed = $_POST['wl-l3-transition-speed'];
466
- $WRIS_L3_Sliding_Arrow = $_POST['wl-l3-sliding-arrow'];
467
- $WRIS_L3_Slider_Navigation = $_POST['wl-l3-navigation'];
468
- $WRIS_L3_Navigation_Button = $_POST['wl-l3-navigation-button'];
469
- $WRIS_L3_Slider_Width = $_POST['wl-l3-slider-width'];
470
- $WRIS_L3_Slider_Height = $_POST['wl-l3-slider-height'];
471
- $WRIS_L3_Font_Style = $_POST['wl-l3-font-style'];
472
- $WRIS_L3_Title_Color = $_POST['wl-l3-title-color'];
473
- $WRIS_L3_Title_BgColor = $_POST['wl-l3-title-bgcolor'];
474
- $WRIS_L3_Desc_Color = $_POST['wl-l3-desc-color'];
475
- $WRIS_L3_Desc_BgColor = $_POST['wl-l3-desc-bgcolor'];
476
- $WRIS_L3_Navigation_Color = $_POST['wl-l3-navigation-color'];
477
- $WRIS_L3_Fullscreeen = $_POST['wl-l3-fullscreen'];
478
- $WRIS_L3_Custom_CSS = $_POST['wl-l3-custom-css'];
479
-
480
- $WRIS_L3_Slide_Order = $_POST['wl-l3-slide-order'];
481
- $WRIS_L3_Navigation_Position = $_POST['wl-l3-navigation-position'];
482
- $WRIS_L3_Slide_Distance = $_POST['wl-l3-slide-distance'];
483
- $WRIS_L3_Thumbnail_Style = $_POST['wl-l3-thumbnail-style'];
484
- $WRIS_L3_Thumbnail_Width = $_POST['wl-l3-navigation-width'];
485
- $WRIS_L3_Thumbnail_Height = $_POST['wl-l3-navigation-height'];
486
- $WRIS_L3_Width = $_POST['wl-l3-width'];
487
- $WRIS_L3_Height = $_POST['wl-l3-height'];
488
- $WRIS_L3_Navigation_Bullets_Color = $_POST['wl-l3-navigation-bullets-color'];
489
- $WRIS_L3_Navigation_Pointer_Color = $_POST['wl-l3-navigation-pointer-color'];
490
 
491
  $WRIS_Settings_Array = serialize( array(
492
- 'WRIS_L3_Slide_Title' => $WRIS_L3_Slide_Title,
493
- 'WRIS_L3_Auto_Slideshow' => $WRIS_L3_Auto_Slideshow,
494
- 'WRIS_L3_Transition' => $WRIS_L3_Transition,
495
- 'WRIS_L3_Transition_Speed' => $WRIS_L3_Transition_Speed,
496
- 'WRIS_L3_Sliding_Arrow' => $WRIS_L3_Sliding_Arrow,
497
- 'WRIS_L3_Slider_Navigation' => $WRIS_L3_Slider_Navigation,
498
- 'WRIS_L3_Navigation_Button' => $WRIS_L3_Navigation_Button,
499
- 'WRIS_L3_Slider_Width' => $WRIS_L3_Slider_Width,
500
- 'WRIS_L3_Slider_Height' => $WRIS_L3_Slider_Height,
501
- 'WRIS_L3_Font_Style' => $WRIS_L3_Font_Style,
502
- 'WRIS_L3_Title_Color' => $WRIS_L3_Title_Color,
503
- 'WRIS_L3_Title_BgColor' => $WRIS_L3_Title_BgColor,
504
- 'WRIS_L3_Desc_Color' => $WRIS_L3_Desc_Color,
505
- 'WRIS_L3_Desc_BgColor' => $WRIS_L3_Desc_BgColor,
506
- 'WRIS_L3_Navigation_Color' => $WRIS_L3_Navigation_Color,
507
- 'WRIS_L3_Fullscreeen' => $WRIS_L3_Fullscreeen,
508
- 'WRIS_L3_Custom_CSS' => $WRIS_L3_Custom_CSS,
509
-
510
- 'WRIS_L3_Slide_Order' => $WRIS_L3_Slide_Order,
511
- 'WRIS_L3_Navigation_Position' => $WRIS_L3_Navigation_Position,
512
- 'WRIS_L3_Slide_Distance' => $WRIS_L3_Slide_Distance,
513
- 'WRIS_L3_Thumbnail_Style' => $WRIS_L3_Thumbnail_Style,
514
- 'WRIS_L3_Thumbnail_Width' => $WRIS_L3_Thumbnail_Width,
515
- 'WRIS_L3_Thumbnail_Height' => $WRIS_L3_Thumbnail_Height,
516
- 'WRIS_L3_Width' => $WRIS_L3_Width,
517
- 'WRIS_L3_Height' => $WRIS_L3_Height,
518
- 'WRIS_L3_Navigation_Bullets_Color' => $WRIS_L3_Navigation_Bullets_Color,
519
- 'WRIS_L3_Navigation_Pointer_Color' => $WRIS_L3_Navigation_Pointer_Color,
520
  ));
521
 
522
  $WRIS_Gallery_Settings = "WRIS_Gallery_Settings_".$PostID;
@@ -545,7 +543,7 @@ function uris_pro_SettingsPage() {
545
  }
546
  function RIS_Help_and_Support_page(){
547
  wp_enqueue_style('bootstrap-admin.css', WRIS_PLUGIN_URL.'css/bootstrap-admin.css');
548
- require_once("help_and_support.php");
549
  }
550
 
551
  /**
1
  <?php
2
  /**
3
  * Plugin Name: Ultimate Responsive Image Slider
4
+ * Version: 2.9.2
5
  * Description: Add unlimited image slides using Ultimate Responsive Image Slider in any Page and Post content to give an attractive mode to represent contents.
6
  * Author: Weblizar
7
  * Author URI: https://weblizar.com/plugins/ultimate-responsive-image-slider-pro/
35
  "WRIS_L3_Navigation_Color" => "#000000",
36
  "WRIS_L3_Fullscreeen" => 1,
37
  "WRIS_L3_Custom_CSS" => "",
 
38
  'WRIS_L3_Slide_Order' => "ASC",
39
+ 'WRIS_L3_Navigation_Position' => "bottom",
40
  'WRIS_L3_Slide_Distance' => 5,
41
  'WRIS_L3_Thumbnail_Style' => "border",
42
  'WRIS_L3_Thumbnail_Width' => 120,
142
  if (is_admin()) {
143
  add_action('plugins_loaded', array(&$this, 'WRIS_Translate'), 1);
144
  add_action('init', array(&$this, 'ResponsiveImageSlider'), 1);
145
+
146
  add_action('add_meta_boxes', array(&$this, 'add_all_ris_meta_boxes'));
147
  add_action('admin_init', array(&$this, 'add_all_ris_meta_boxes'), 1);
148
 
393
  }
394
 
395
  public function admin_thumb_uris($id) {
396
+ $image = wp_get_attachment_image_src($id, 'rpggallery_admin_original', true);
397
  $image1 = wp_get_attachment_image_src($id, 'rpggallery_admin_thumb', true);
398
  $image3 = wp_get_attachment_image_src($id, 'rpggallery_admin_large', true);
399
  $UniqueString = substr(str_shuffle("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, 5);
431
  $ImagesArray = array();
432
  if($TotalImages) {
433
  for($i=0; $i < $TotalImages; $i++) {
434
+ $image_label =stripslashes(sanitize_text_field($_POST['rpgp_image_label'][$i]));
435
+ $image_desc = stripslashes(sanitize_text_field($_POST['rpgp_image_desc'][$i]));
436
+ $url = sanitize_text_field( $_POST['rpgp_image_url'][$i] );
437
+ $url1 = sanitize_text_field($_POST['rpggallery_admin_thumb'][$i] );
438
+ $url3 = sanitize_text_field($_POST['rpggallery_admin_large'][$i] );
439
  $ImagesArray[] = array(
440
  'rpgp_image_label' => $image_label,
441
  'rpgp_image_desc' => $image_desc,
459
  public function ris_settings_meta_save($PostID) {
460
  if(isset($PostID) && isset($_POST['wl_action']) == "wl-save-settings") {
461
 
462
+ $WRIS_L3_Slide_Title = sanitize_option ( 'title', $_POST['wl-l3-slide-title'] );
463
+ $WRIS_L3_Auto_Slideshow = sanitize_option ( 'autoplay', $_POST['wl-l3-auto-slide'] );
464
+ $WRIS_L3_Transition = sanitize_option ( 'transition', $_POST['wl-l3-transition'] );
465
+ $WRIS_L3_Transition_Speed = sanitize_text_field( $_POST['wl-l3-transition-speed'] );
466
+ $WRIS_L3_Sliding_Arrow = sanitize_option ( 'arrow', $_POST['wl-l3-sliding-arrow'] );
467
+ $WRIS_L3_Slider_Navigation = sanitize_option ( 'navigation', $_POST['wl-l3-navigation'] );
468
+ $WRIS_L3_Navigation_Button = sanitize_option ( 'navigation_button', $_POST['wl-l3-navigation-button'] );
469
+ $WRIS_L3_Slider_Width = sanitize_option ( 'slider_width', $_POST['wl-l3-slider-width'] );
470
+ $WRIS_L3_Slider_Height = sanitize_option ( 'slider_height', $_POST['wl-l3-slider-height'] );
471
+ $WRIS_L3_Font_Style = sanitize_option ( 'font_style', $_POST['wl-l3-font-style'] );
472
+ $WRIS_L3_Title_Color = sanitize_option ( 'title_color', $_POST['wl-l3-title-color'] );
473
+ $WRIS_L3_Title_BgColor = sanitize_option ( 'title_bgcolor', $_POST['wl-l3-title-bgcolor'] );
474
+ $WRIS_L3_Desc_Color = sanitize_option ( 'desc_color', $_POST['wl-l3-desc-color'] );
475
+ $WRIS_L3_Desc_BgColor = sanitize_option ( 'desc_bgcolor', $_POST['wl-l3-desc-bgcolor'] );
476
+ $WRIS_L3_Navigation_Color = sanitize_option ( 'navigation_color', $_POST['wl-l3-navigation-color'] );
477
+ $WRIS_L3_Fullscreeen = sanitize_option ( 'fullscreen', $_POST['wl-l3-fullscreen'] );
478
+ $WRIS_L3_Custom_CSS = sanitize_text_field( $_POST['wl-l3-custom-css'] );
479
+ $WRIS_L3_Slide_Order = sanitize_option ( 'slide_order', $_POST['wl-l3-slide-order'] );
480
+ $WRIS_L3_Navigation_Position = sanitize_option ( 'navigation_position', $_POST['wl-l3-navigation-position'] );
481
+ $WRIS_L3_Slide_Distance = sanitize_option ( 'slide_distance', $_POST['wl-l3-slide-distance'] );
482
+ $WRIS_L3_Thumbnail_Style = sanitize_option ( 'thumbnail_style', $_POST['wl-l3-thumbnail-style'] );
483
+ $WRIS_L3_Thumbnail_Width = sanitize_text_field( $_POST['wl-l3-navigation-width'] );
484
+ $WRIS_L3_Thumbnail_Height = sanitize_text_field( $_POST['wl-l3-navigation-height'] );
485
+ $WRIS_L3_Width = sanitize_text_field( $_POST['wl-l3-width'] );
486
+ $WRIS_L3_Height = sanitize_text_field( $_POST['wl-l3-height'] );
487
+ $WRIS_L3_Navigation_Bullets_Color = sanitize_option ( 'navigation_bullet_color', $_POST['wl-l3-navigation-bullets-color'] );
488
+ $WRIS_L3_Navigation_Pointer_Color = sanitize_option ( 'navigation_pointer_color', $_POST['wl-l3-navigation-pointer-color'] );
 
489
 
490
  $WRIS_Settings_Array = serialize( array(
491
+ 'WRIS_L3_Slide_Title' => $WRIS_L3_Slide_Title,
492
+ 'WRIS_L3_Auto_Slideshow' => $WRIS_L3_Auto_Slideshow,
493
+ 'WRIS_L3_Transition' => $WRIS_L3_Transition,
494
+ 'WRIS_L3_Transition_Speed' => $WRIS_L3_Transition_Speed,
495
+ 'WRIS_L3_Sliding_Arrow' => $WRIS_L3_Sliding_Arrow,
496
+ 'WRIS_L3_Slider_Navigation' => $WRIS_L3_Slider_Navigation,
497
+ 'WRIS_L3_Navigation_Button' => $WRIS_L3_Navigation_Button,
498
+ 'WRIS_L3_Slider_Width' => $WRIS_L3_Slider_Width,
499
+ 'WRIS_L3_Slider_Height' => $WRIS_L3_Slider_Height,
500
+ 'WRIS_L3_Font_Style' => $WRIS_L3_Font_Style,
501
+ 'WRIS_L3_Title_Color' => $WRIS_L3_Title_Color,
502
+ 'WRIS_L3_Title_BgColor' => $WRIS_L3_Title_BgColor,
503
+ 'WRIS_L3_Desc_Color' => $WRIS_L3_Desc_Color,
504
+ 'WRIS_L3_Desc_BgColor' => $WRIS_L3_Desc_BgColor,
505
+ 'WRIS_L3_Navigation_Color' => $WRIS_L3_Navigation_Color,
506
+ 'WRIS_L3_Fullscreeen' => $WRIS_L3_Fullscreeen,
507
+ 'WRIS_L3_Custom_CSS' => $WRIS_L3_Custom_CSS,
508
+ 'WRIS_L3_Slide_Order' => $WRIS_L3_Slide_Order,
509
+ 'WRIS_L3_Navigation_Position' => $WRIS_L3_Navigation_Position,
510
+ 'WRIS_L3_Slide_Distance' => $WRIS_L3_Slide_Distance,
511
+ 'WRIS_L3_Thumbnail_Style' => $WRIS_L3_Thumbnail_Style,
512
+ 'WRIS_L3_Thumbnail_Width' => $WRIS_L3_Thumbnail_Width,
513
+ 'WRIS_L3_Thumbnail_Height' => $WRIS_L3_Thumbnail_Height,
514
+ 'WRIS_L3_Width' => $WRIS_L3_Width,
515
+ 'WRIS_L3_Height' => $WRIS_L3_Height,
516
+ 'WRIS_L3_Navigation_Bullets_Color' => $WRIS_L3_Navigation_Bullets_Color,
517
+ 'WRIS_L3_Navigation_Pointer_Color' => $WRIS_L3_Navigation_Pointer_Color,
 
518
  ));
519
 
520
  $WRIS_Gallery_Settings = "WRIS_Gallery_Settings_".$PostID;
543
  }
544
  function RIS_Help_and_Support_page(){
545
  wp_enqueue_style('bootstrap-admin.css', WRIS_PLUGIN_URL.'css/bootstrap-admin.css');
546
+ require_once("help_and_support.php");
547
  }
548
 
549
  /**
uris-layout.php CHANGED
@@ -90,7 +90,7 @@ $j = 1;
90
  <script type="text/javascript">
91
  WebFont.load({
92
  google: {
93
- families: ['<?php echo $RISP_Font_Style; ?>'] // saved value
94
  }
95
  });
96
  </script>
@@ -100,7 +100,7 @@ $j = 1;
100
  /* border */
101
  <?php if($WRIS_L3_Thumbnail_Style == "border") { ?>
102
  #example3_<?php echo $post_id; ?> .sp-selected-thumbnail {
103
- border: 4px solid <?php echo $WRIS_L3_Navigation_Pointer_Color; ?>;
104
  }
105
  <?php } ?>
106
 
90
  <script type="text/javascript">
91
  WebFont.load({
92
  google: {
93
+ families: ['<?php echo $WRIS_L3_Font_Style ; ?>'] // saved value
94
  }
95
  });
96
  </script>
100
  /* border */
101
  <?php if($WRIS_L3_Thumbnail_Style == "border") { ?>
102
  #example3_<?php echo $post_id; ?> .sp-selected-thumbnail {
103
+ border: 4px solid <?php echo $WRIS_L3_Navigation_Pointer_Color ; ?>;
104
  }
105
  <?php } ?>
106