Slide Anything – Responsive Content / HTML Slider and Carousel - Version 2.3.13

Version Description

  • Minor bug fix: PHP 'Undefined Index' warnings were sometimes displayed after upgrading to Slide Anything PRO (and the slider was created using the Slide Anything FREE plugin)

=

Download this release

Release Info

Developer simonpedge
Plugin Icon 128x128 Slide Anything – Responsive Content / HTML Slider and Carousel
Version 2.3.13
Comparing to
See all releases

Code changes from version 2.3.12 to 2.3.13

php/slide-anything-frontend.php CHANGED
@@ -88,9 +88,24 @@ function slide_anything_shortcode($atts) {
88
  }
89
  if ($sa_pro_version) {
90
  // ### PRO VERSION - GET POPUP DATA ###
91
- $slide_data["slide".$i."_popup_type"] = $metadata["sa_slide".$i."_popup_type"][0];
92
- $slide_data["slide".$i."_popup_imageid"] = $metadata["sa_slide".$i."_popup_imageid"][0];
93
- $slide_data["slide".$i."_popup_imagetitle"] = $metadata["sa_slide".$i."_popup_imagetitle"][0];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  $slide_data["slide".$i."_popup_image"] = '';
95
  $slide_data["slide".$i."_popup_background"] = 'no';
96
  if ($slide_data["slide".$i."_popup_type"] == 'IMAGE') {
@@ -103,12 +118,24 @@ function slide_anything_shortcode($atts) {
103
  }
104
  }
105
  }
106
- $slide_data["slide".$i."_popup_video_id"] = $metadata["sa_slide".$i."_popup_video_id"][0];
107
- $slide_data["slide".$i."_popup_video_type"] = $metadata["sa_slide".$i."_popup_video_type"][0];
108
- $slide_data["slide".$i."_popup_html"] = $metadata["sa_slide".$i."_popup_html"][0];
109
- $slide_data["slide".$i."_popup_shortcode"] = $metadata["sa_slide".$i."_popup_shortcode"][0];
110
- $slide_data["slide".$i."_popup_bgcol"] = $metadata["sa_slide".$i."_popup_bgcol"][0];
111
- $slide_data["slide".$i."_popup_width"] = $metadata["sa_slide".$i."_popup_width"][0];
 
 
 
 
 
 
 
 
 
 
 
 
112
  if ($slide_data["slide".$i."_popup_type"] == 'HTML') {
113
  $slide_data["slide".$i."_popup_css_id"] = $slide_data['css_id']."_popup".$i;
114
  } else {
88
  }
89
  if ($sa_pro_version) {
90
  // ### PRO VERSION - GET POPUP DATA ###
91
+ $slide_data["slide".$i."_popup_type"] = "NONE";
92
+ $slide_data["slide".$i."_popup_imageid"] = "";
93
+ $slide_data["slide".$i."_popup_imagetitle"] = "";
94
+ $slide_data["slide".$i."_popup_video_id"] = "";
95
+ $slide_data["slide".$i."_popup_video_type"] = "";
96
+ $slide_data["slide".$i."_popup_html"] = "";
97
+ $slide_data["slide".$i."_popup_shortcode"] = "";
98
+ $slide_data["slide".$i."_popup_bgcol"] = "#ffffff";
99
+ $slide_data["slide".$i."_popup_width"] = "600";
100
+ if (isset($metadata["sa_slide".$i."_popup_type"])) {
101
+ $slide_data["slide".$i."_popup_type"] = $metadata["sa_slide".$i."_popup_type"][0];
102
+ }
103
+ if (isset($metadata["sa_slide".$i."_popup_imageid"])) {
104
+ $slide_data["slide".$i."_popup_imageid"] = $metadata["sa_slide".$i."_popup_imageid"][0];
105
+ }
106
+ if (isset($metadata["sa_slide".$i."_popup_imagetitle"])) {
107
+ $slide_data["slide".$i."_popup_imagetitle"] = $metadata["sa_slide".$i."_popup_imagetitle"][0];
108
+ }
109
  $slide_data["slide".$i."_popup_image"] = '';
110
  $slide_data["slide".$i."_popup_background"] = 'no';
111
  if ($slide_data["slide".$i."_popup_type"] == 'IMAGE') {
118
  }
119
  }
120
  }
121
+ if (isset($metadata["sa_slide".$i."_popup_video_id"])) {
122
+ $slide_data["slide".$i."_popup_video_id"] = $metadata["sa_slide".$i."_popup_video_id"][0];
123
+ }
124
+ if (isset($metadata["sa_slide".$i."_popup_video_type"])) {
125
+ $slide_data["slide".$i."_popup_video_type"] = $metadata["sa_slide".$i."_popup_video_type"][0];
126
+ }
127
+ if (isset($metadata["sa_slide".$i."_popup_html"])) {
128
+ $slide_data["slide".$i."_popup_html"] = $metadata["sa_slide".$i."_popup_html"][0];
129
+ }
130
+ if (isset($metadata["sa_slide".$i."_popup_shortcode"])) {
131
+ $slide_data["slide".$i."_popup_shortcode"] = $metadata["sa_slide".$i."_popup_shortcode"][0];
132
+ }
133
+ if (isset($metadata["sa_slide".$i."_popup_bgcol"])) {
134
+ $slide_data["slide".$i."_popup_bgcol"] = $metadata["sa_slide".$i."_popup_bgcol"][0];
135
+ }
136
+ if (isset($metadata["sa_slide".$i."_popup_width"])) {
137
+ $slide_data["slide".$i."_popup_width"] = $metadata["sa_slide".$i."_popup_width"][0];
138
+ }
139
  if ($slide_data["slide".$i."_popup_type"] == 'HTML') {
140
  $slide_data["slide".$i."_popup_css_id"] = $slide_data['css_id']."_popup".$i;
141
  } else {
readme.txt CHANGED
@@ -332,6 +332,9 @@ Adding a SLIDE ANYTHING slider using the WordPress 5.0 'Block Editor' is pretty
332
  = 2.3.12 =
333
  * Added a new feature (checkbox) to vertically center content within slides.
334
 
 
 
 
335
  == Upgrade Notice ==
336
 
337
  = 1.0 =
@@ -565,4 +568,7 @@ Adding a SLIDE ANYTHING slider using the WordPress 5.0 'Block Editor' is pretty
565
  * Couple of small bug fixes: Undefined index error for 'popup_shortcode' vairables and hide "SA PRO' advert for non-admin users.
566
 
567
  = 2.3.12 =
568
- * Added a new feature (checkbox) to vertically center content within slides.
 
 
 
332
  = 2.3.12 =
333
  * Added a new feature (checkbox) to vertically center content within slides.
334
 
335
+ = 2.3.13 =
336
+ * Minor bug fix: PHP 'Undefined Index' warnings were sometimes displayed after upgrading to Slide Anything PRO (and the slider was created using the Slide Anything FREE plugin)
337
+
338
  == Upgrade Notice ==
339
 
340
  = 1.0 =
568
  * Couple of small bug fixes: Undefined index error for 'popup_shortcode' vairables and hide "SA PRO' advert for non-admin users.
569
 
570
  = 2.3.12 =
571
+ * Added a new feature (checkbox) to vertically center content within slides.
572
+
573
+ = 2.3.13 =
574
+ * Minor bug fix: PHP 'Undefined Index' warnings were sometimes displayed after upgrading to Slide Anything PRO (and the slider was created using the Slide Anything FREE plugin)
slide-anything.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://wordpress.org/plugins/slide-anything/
5
  * Description: Slide Anything allows you to create a carousel/slider where the content for each slide can be anything you want - images, text, HTML, and even shortcodes. This plugin uses the Owl Carousel jQuery plugin, and lets you create beautiful, touch enabled, responsive carousels and sliders.
6
  * Author: Simon Edge
7
- * Version: 2.3.12
8
  * License: GPLv2 or later
9
  */
10
 
4
  * Plugin URI: https://wordpress.org/plugins/slide-anything/
5
  * Description: Slide Anything allows you to create a carousel/slider where the content for each slide can be anything you want - images, text, HTML, and even shortcodes. This plugin uses the Owl Carousel jQuery plugin, and lets you create beautiful, touch enabled, responsive carousels and sliders.
6
  * Author: Simon Edge
7
+ * Version: 2.3.13
8
  * License: GPLv2 or later
9
  */
10