Version Description
- Small Bug Fix: The Re-Order slides page was displaying a PHP warning notice on sites with PHP 7.4.
=
Download this release
Release Info
Developer | simonpedge |
Plugin | Slide Anything – Responsive Content / HTML Slider and Carousel |
Version | 2.3.23 |
Comparing to | |
See all releases |
Code changes from version 2.3.22 to 2.3.23
- php/slide-anything-admin.php +10 -2
- readme.txt +7 -1
- slide-anything.php +1 -1
php/slide-anything-admin.php
CHANGED
@@ -2797,6 +2797,7 @@ function extra_sa_menu_pages() {
|
|
2797 |
}
|
2798 |
|
2799 |
function sa_reorder_slides_page() {
|
|
|
2800 |
$page_url = get_admin_url()."edit.php?post_type=sa_slider&page=reorderslides";
|
2801 |
$placeholder_image = get_site_url()."/wp-content/plugins/slide-anything/images/bg_placeholder.png";
|
2802 |
|
@@ -2923,8 +2924,15 @@ function sa_reorder_slides_page() {
|
|
2923 |
$slide_arr[$i]['image_id'] = $image_data_arr[0];
|
2924 |
$slide_arr[$i]['content'] = $metadata["sa_slide".$i."_content"][0];
|
2925 |
// cater for popup images used as the slide background
|
2926 |
-
$popup_type = $
|
2927 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2928 |
if ($popup_type == 'IMAGE') {
|
2929 |
if (($popup_background != '') && ($popup_background != 'no')) {
|
2930 |
$slide_arr[$i]['image_id'] = $metadata["sa_slide".$i."_popup_imageid"][0];
|
2797 |
}
|
2798 |
|
2799 |
function sa_reorder_slides_page() {
|
2800 |
+
$sa_pro_version = validate_slide_anything_pro_registration();
|
2801 |
$page_url = get_admin_url()."edit.php?post_type=sa_slider&page=reorderslides";
|
2802 |
$placeholder_image = get_site_url()."/wp-content/plugins/slide-anything/images/bg_placeholder.png";
|
2803 |
|
2924 |
$slide_arr[$i]['image_id'] = $image_data_arr[0];
|
2925 |
$slide_arr[$i]['content'] = $metadata["sa_slide".$i."_content"][0];
|
2926 |
// cater for popup images used as the slide background
|
2927 |
+
$popup_type = $popup_background = '';
|
2928 |
+
if (!$sa_pro_version) {
|
2929 |
+
if (isset($metadata["sa_slide".$i."_popup_type"][0])) {
|
2930 |
+
$popup_type = $metadata["sa_slide".$i."_popup_type"][0];
|
2931 |
+
}
|
2932 |
+
if (isset($metadata["sa_slide".$i."_popup_background"][0])) {
|
2933 |
+
$popup_background = $metadata["sa_slide".$i."_popup_background"][0];
|
2934 |
+
}
|
2935 |
+
}
|
2936 |
if ($popup_type == 'IMAGE') {
|
2937 |
if (($popup_background != '') && ($popup_background != 'no')) {
|
2938 |
$slide_arr[$i]['image_id'] = $metadata["sa_slide".$i."_popup_imageid"][0];
|
readme.txt
CHANGED
@@ -362,6 +362,9 @@ Adding a SLIDE ANYTHING slider using the WordPress 5.0 'Block Editor' is pretty
|
|
362 |
= 2.3.22 =
|
363 |
* Small Bug Fix to fix a clash with the 'Woody Snippets' plugin within the WordPress Dashboard
|
364 |
|
|
|
|
|
|
|
365 |
== Upgrade Notice ==
|
366 |
|
367 |
= 1.0 =
|
@@ -625,4 +628,7 @@ Adding a SLIDE ANYTHING slider using the WordPress 5.0 'Block Editor' is pretty
|
|
625 |
* Small Bug Fix to remove PHP Notice (warnings) within 'slide-anything-admin.php' for possible undefined indexs for 'popup_type', 'popup_video_type' and 'popup_video_id'
|
626 |
|
627 |
= 2.3.22 =
|
628 |
-
* Small Bug Fix to fix a clash with the 'Woody Snippets' plugin within the WordPress Dashboard
|
|
|
|
|
|
362 |
= 2.3.22 =
|
363 |
* Small Bug Fix to fix a clash with the 'Woody Snippets' plugin within the WordPress Dashboard
|
364 |
|
365 |
+
= 2.3.23 =
|
366 |
+
* Small Bug Fix: The Re-Order slides page was displaying a PHP warning notice on sites with PHP 7.4.
|
367 |
+
|
368 |
== Upgrade Notice ==
|
369 |
|
370 |
= 1.0 =
|
628 |
* Small Bug Fix to remove PHP Notice (warnings) within 'slide-anything-admin.php' for possible undefined indexs for 'popup_type', 'popup_video_type' and 'popup_video_id'
|
629 |
|
630 |
= 2.3.22 =
|
631 |
+
* Small Bug Fix to fix a clash with the 'Woody Snippets' plugin within the WordPress Dashboard
|
632 |
+
|
633 |
+
= 2.3.23 =
|
634 |
+
* Small Bug Fix: The Re-Order slides page was displaying a PHP warning notice on sites with PHP 7.4.
|
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.23
|
8 |
* License: GPLv2 or later
|
9 |
*/
|
10 |
|