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

Version Description

  • 2 small fixes. Added transparent (invisible) 'Previous' and 'Next' text to the Previous & Next arrow buttons so that accessibility errors are no longer generated with accessibility evaluation tools. Do not use the 'window.dispatchEvent' function call on IE11 browsers when executing a 'resize' event.

=

Download this release

Release Info

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

Code changes from version 2.3.27 to 2.3.28

owl-carousel/sa-owl-theme.css CHANGED
@@ -84,6 +84,7 @@
84
  line-height:30px !important;
85
  height:40px !important;
86
  width:30px !important;
 
87
  transition:all .3s ease-in-out !important;
88
  -webkit-transition:all .3s ease-in-out !important;
89
  -moz-transition:all .3s ease-in-out !important;
84
  line-height:30px !important;
85
  height:40px !important;
86
  width:30px !important;
87
+ color:transparent !important;
88
  transition:all .3s ease-in-out !important;
89
  -webkit-transition:all .3s ease-in-out !important;
90
  -moz-transition:all .3s ease-in-out !important;
php/slide-anything-frontend.php CHANGED
@@ -855,7 +855,7 @@ function slide_anything_shortcode($atts) {
855
  }
856
  $output .= " loop : ".esc_attr($slide_data['loop_slider']).",\n";
857
  $output .= " nav : ".esc_attr($slide_data['nav_arrows']).",\n";
858
- $output .= " navText : ['',''],\n";
859
  if ($slide_data['showcase_slider'] == '1') {
860
  $output .= " navContainer : '#showcase_".esc_attr($id)."',\n";
861
  }
@@ -1038,9 +1038,16 @@ function slide_anything_shortcode($atts) {
1038
  // CALL THE WINDOW RESIZE EVENT AFTER THE OWL CAROUSEL SLIDER HAS BEEN INITIALIZED
1039
  $output .= " var resize_".$id." = jQuery('.owl-carousel');\n";
1040
  $output .= " resize_".$id.".on('initialized.owl.carousel', function(e) {\n";
1041
- $output .= " window.dispatchEvent(new Event('resize'));\n";
 
 
 
 
 
 
 
 
1042
  $output .= " });\n";
1043
-
1044
  $output .= " });\n";
1045
  $output .= "</script>\n";
1046
 
855
  }
856
  $output .= " loop : ".esc_attr($slide_data['loop_slider']).",\n";
857
  $output .= " nav : ".esc_attr($slide_data['nav_arrows']).",\n";
858
+ $output .= " navText : ['Previous','Next'],\n";
859
  if ($slide_data['showcase_slider'] == '1') {
860
  $output .= " navContainer : '#showcase_".esc_attr($id)."',\n";
861
  }
1038
  // CALL THE WINDOW RESIZE EVENT AFTER THE OWL CAROUSEL SLIDER HAS BEEN INITIALIZED
1039
  $output .= " var resize_".$id." = jQuery('.owl-carousel');\n";
1040
  $output .= " resize_".$id.".on('initialized.owl.carousel', function(e) {\n";
1041
+ $output .= " if (typeof(Event) === 'function') {\n";
1042
+ // modern browsers
1043
+ $output .= " window.dispatchEvent(new Event('resize'));\n";
1044
+ $output .= " } else {\n";
1045
+ // for IE and other old browsers (causes deprecation warning on modern browsers)
1046
+ $output .= " var evt = window.document.createEvent('UIEvents');\n";
1047
+ $output .= " evt.initUIEvent('resize', true, false, window, 0);\n";
1048
+ $output .= " window.dispatchEvent(evt);\n";
1049
+ $output .= " }\n";
1050
  $output .= " });\n";
 
1051
  $output .= " });\n";
1052
  $output .= "</script>\n";
1053
 
readme.txt CHANGED
@@ -377,6 +377,9 @@ Adding a SLIDE ANYTHING slider using the WordPress 5.0 'Block Editor' is pretty
377
  = 2.3.27 =
378
  * Adding a new Slide Anything global setting which appears under 'Settings->Writing' within the WordPress Dashbaord. This is a checkbox setting called 'Disable TinyMCE Button', and when checked the 'Slide Anything Sliders' button within the toolbar of the WordPress Classic Editor when editing pages and posts will be disabled. This TinyMCE button is causing issues on some sites, and adding the facility to turn off this button resolves this issue.
379
 
 
 
 
380
  == Upgrade Notice ==
381
 
382
  = 1.0 =
@@ -655,4 +658,7 @@ Adding a SLIDE ANYTHING slider using the WordPress 5.0 'Block Editor' is pretty
655
  * When thumbnail pagination and popup options are used together (PRO version only) there was an issue - the popup images or popup YouTube video thumbs were not be used to set the thumbnail images.
656
 
657
  = 2.3.27 =
658
- * Adding a new Slide Anything global setting which appears under 'Settings->Writing' within the WordPress Dashbaord. This is a checkbox setting called 'Disable TinyMCE Button', and when checked the 'Slide Anything Sliders' button within the toolbar of the WordPress Classic Editor when editing pages and posts will be disabled. This TinyMCE button is causing issues on some sites, and adding the facility to turn off this button resolves this issue.
 
 
 
377
  = 2.3.27 =
378
  * Adding a new Slide Anything global setting which appears under 'Settings->Writing' within the WordPress Dashbaord. This is a checkbox setting called 'Disable TinyMCE Button', and when checked the 'Slide Anything Sliders' button within the toolbar of the WordPress Classic Editor when editing pages and posts will be disabled. This TinyMCE button is causing issues on some sites, and adding the facility to turn off this button resolves this issue.
379
 
380
+ = 2.3.28 =
381
+ * 2 small fixes. Added transparent (invisible) 'Previous' and 'Next' text to the Previous & Next arrow buttons so that accessibility errors are no longer generated with accessibility evaluation tools. Do not use the 'window.dispatchEvent' function call on IE11 browsers when executing a 'resize' event.
382
+
383
  == Upgrade Notice ==
384
 
385
  = 1.0 =
658
  * When thumbnail pagination and popup options are used together (PRO version only) there was an issue - the popup images or popup YouTube video thumbs were not be used to set the thumbnail images.
659
 
660
  = 2.3.27 =
661
+ * Adding a new Slide Anything global setting which appears under 'Settings->Writing' within the WordPress Dashbaord. This is a checkbox setting called 'Disable TinyMCE Button', and when checked the 'Slide Anything Sliders' button within the toolbar of the WordPress Classic Editor when editing pages and posts will be disabled. This TinyMCE button is causing issues on some sites, and adding the facility to turn off this button resolves this issue.
662
+
663
+ = 2.3.28 =
664
+ * 2 small fixes. Added transparent (invisible) 'Previous' and 'Next' text to the Previous & Next arrow buttons so that accessibility errors are no longer generated with accessibility evaluation tools. Do not use the 'window.dispatchEvent' function call on IE11 browsers when executing a 'resize' event.
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.27
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.28
8
  * License: GPLv2 or later
9
  */
10