Version Description
- Bug Fix: Fixed 'undefined index' error that sometimes occurs on the WordPress backend when saving Showcase Carousel fields
=
Download this release
Release Info
Developer | simonpedge |
Plugin | Slide Anything – Responsive Content / HTML Slider and Carousel |
Version | 2.3.2 |
Comparing to | |
See all releases |
Code changes from version 2.3.1 to 2.3.2
- owl-carousel/sa-owl-theme.css +1 -0
- php/slide-anything-admin.php +9 -3
- readme.txt +9 -3
- slide-anything.php +1 -1
owl-carousel/sa-owl-theme.css
CHANGED
@@ -19,6 +19,7 @@
|
|
19 |
.sa_owl_theme .owl-dots {
|
20 |
position:absolute;
|
21 |
width:100%;
|
|
|
22 |
padding:10px 0px 0px !important;
|
23 |
bottom:-22px !important;
|
24 |
text-align:center !important;
|
19 |
.sa_owl_theme .owl-dots {
|
20 |
position:absolute;
|
21 |
width:100%;
|
22 |
+
display:block !important;
|
23 |
padding:10px 0px 0px !important;
|
24 |
bottom:-22px !important;
|
25 |
text-align:center !important;
|
php/slide-anything-admin.php
CHANGED
@@ -2402,19 +2402,25 @@ function cpt_slider_save_postdata() {
|
|
2402 |
} else {
|
2403 |
update_post_meta($post->ID, 'sa_showcase_slider', '0');
|
2404 |
}
|
2405 |
-
|
|
|
|
|
2406 |
if (isset($_POST['sa_showcase_tablet']) && ($_POST['sa_showcase_tablet'] == '1')) {
|
2407 |
update_post_meta($post->ID, 'sa_showcase_tablet', '1');
|
2408 |
} else {
|
2409 |
update_post_meta($post->ID, 'sa_showcase_tablet', '0');
|
2410 |
}
|
2411 |
-
|
|
|
|
|
2412 |
if (isset($_POST['sa_showcase_mobile']) && ($_POST['sa_showcase_mobile'] == '1')) {
|
2413 |
update_post_meta($post->ID, 'sa_showcase_mobile', '1');
|
2414 |
} else {
|
2415 |
update_post_meta($post->ID, 'sa_showcase_mobile', '0');
|
2416 |
}
|
2417 |
-
|
|
|
|
|
2418 |
|
2419 |
// UPDATE SLIDER STYLE
|
2420 |
$post_css_id = str_replace("-", "_", $_POST['sa_css_id']);
|
2402 |
} else {
|
2403 |
update_post_meta($post->ID, 'sa_showcase_slider', '0');
|
2404 |
}
|
2405 |
+
if (isset($_POST['sa_showcase_width'])) {
|
2406 |
+
update_post_meta($post->ID, 'sa_showcase_width', abs(intval($_POST['sa_showcase_width']))); // SANATIZE
|
2407 |
+
}
|
2408 |
if (isset($_POST['sa_showcase_tablet']) && ($_POST['sa_showcase_tablet'] == '1')) {
|
2409 |
update_post_meta($post->ID, 'sa_showcase_tablet', '1');
|
2410 |
} else {
|
2411 |
update_post_meta($post->ID, 'sa_showcase_tablet', '0');
|
2412 |
}
|
2413 |
+
if (isset($_POST['sa_showcase_width_tab'])) {
|
2414 |
+
update_post_meta($post->ID, 'sa_showcase_width_tab', abs(intval($_POST['sa_showcase_width_tab']))); // SANATIZE
|
2415 |
+
}
|
2416 |
if (isset($_POST['sa_showcase_mobile']) && ($_POST['sa_showcase_mobile'] == '1')) {
|
2417 |
update_post_meta($post->ID, 'sa_showcase_mobile', '1');
|
2418 |
} else {
|
2419 |
update_post_meta($post->ID, 'sa_showcase_mobile', '0');
|
2420 |
}
|
2421 |
+
if (isset($_POST['sa_showcase_width_mob'])) {
|
2422 |
+
update_post_meta($post->ID, 'sa_showcase_width_mob', abs(intval($_POST['sa_showcase_width_mob']))); // SANATIZE
|
2423 |
+
}
|
2424 |
|
2425 |
// UPDATE SLIDER STYLE
|
2426 |
$post_css_id = str_replace("-", "_", $_POST['sa_css_id']);
|
readme.txt
CHANGED
@@ -3,12 +3,12 @@ Contributors: simonpedge
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RP7JLGK6VT252
|
4 |
Tags: slider, carousel, content slider, responsive slider, html slider, owl carousel
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to: 5.
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
Create responsive
|
12 |
|
13 |
== Description ==
|
14 |
|
@@ -298,6 +298,9 @@ Adding a SLIDE ANYTHING slider using the WordPress 5.0 'Block Editor' is pretty
|
|
298 |
= 2.3.1 =
|
299 |
* Bug Fix: Fixed issue with 'Autohide Arrows' not working properly with Showcase Carousels
|
300 |
|
|
|
|
|
|
|
301 |
== Upgrade Notice ==
|
302 |
|
303 |
= 1.0 =
|
@@ -498,4 +501,7 @@ Adding a SLIDE ANYTHING slider using the WordPress 5.0 'Block Editor' is pretty
|
|
498 |
* Remove HTML elements (HTML, DOCTYPE & BODY tags) from front-end code generated when the 'Lazy Load Images' or 'Remove JavaScript Content' options are selected for a slider
|
499 |
|
500 |
= 2.3.1 =
|
501 |
-
* Bug Fix: Fixed issue with 'Autohide Arrows' not working properly with Showcase Carousels
|
|
|
|
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RP7JLGK6VT252
|
4 |
Tags: slider, carousel, content slider, responsive slider, html slider, owl carousel
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 5.2
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
Create a responsive carousel or slider where the content for each slide can be anything you want - images, text, HTML, and even shortcodes.
|
12 |
|
13 |
== Description ==
|
14 |
|
298 |
= 2.3.1 =
|
299 |
* Bug Fix: Fixed issue with 'Autohide Arrows' not working properly with Showcase Carousels
|
300 |
|
301 |
+
= 2.3.2 =
|
302 |
+
* Bug Fix: Fixed 'undefined index' error that sometimes occurs on the WordPress backend when saving Showcase Carousel fields
|
303 |
+
|
304 |
== Upgrade Notice ==
|
305 |
|
306 |
= 1.0 =
|
501 |
* Remove HTML elements (HTML, DOCTYPE & BODY tags) from front-end code generated when the 'Lazy Load Images' or 'Remove JavaScript Content' options are selected for a slider
|
502 |
|
503 |
= 2.3.1 =
|
504 |
+
* Bug Fix: Fixed issue with 'Autohide Arrows' not working properly with Showcase Carousels
|
505 |
+
|
506 |
+
= 2.3.2 =
|
507 |
+
* Bug Fix: Fixed 'undefined index' error that sometimes occurs on the WordPress backend when saving Showcase Carousel fields
|
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.
|
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.2
|
8 |
* License: GPLv2 or later
|
9 |
*/
|
10 |
|