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

Version Description

  • Bug fix - An array initialisation was causing a crash on hosts using a PHP version prior to 5.4. Changed this array initialisation to now be backwards compatible.

=

Download this release

Release Info

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

Code changes from version 2.1.12 to 2.1.13

php/slide-anything-frontend.php CHANGED
@@ -679,7 +679,7 @@ function remove_javascript_from_content($slide_content) {
679
  $dom = new DOMDocument();
680
  $dom->loadHTML($slide_content);
681
  $script = $dom->getElementsByTagName('script');
682
- $remove = [];
683
  foreach($script as $item) {
684
  $item->parentNode->removeChild($item);
685
  }
679
  $dom = new DOMDocument();
680
  $dom->loadHTML($slide_content);
681
  $script = $dom->getElementsByTagName('script');
682
+ $remove = array();
683
  foreach($script as $item) {
684
  $item->parentNode->removeChild($item);
685
  }
readme.txt CHANGED
@@ -223,6 +223,9 @@ The `SLIDE STYLE` settings are the style settings for each individual slide with
223
  = 2.1.12 =
224
  * Added the new feature (checkbox) 'Remove JavaScript Content'. When checked, JavaScript content (<script> tags) are removed from slide content.
225
 
 
 
 
226
  == Upgrade Notice ==
227
 
228
  = 1.0 =
@@ -361,3 +364,6 @@ The `SLIDE STYLE` settings are the style settings for each individual slide with
361
 
362
  = 2.1.12 =
363
  * Added the new feature (checkbox) 'Remove JavaScript Content'. When checked, JavaScript content (<script> tags) are removed from slide content.
 
 
 
223
  = 2.1.12 =
224
  * Added the new feature (checkbox) 'Remove JavaScript Content'. When checked, JavaScript content (<script> tags) are removed from slide content.
225
 
226
+ = 2.1.13 =
227
+ * Bug fix - An array initialisation was causing a crash on hosts using a PHP version prior to 5.4. Changed this array initialisation to now be backwards compatible.
228
+
229
  == Upgrade Notice ==
230
 
231
  = 1.0 =
364
 
365
  = 2.1.12 =
366
  * Added the new feature (checkbox) 'Remove JavaScript Content'. When checked, JavaScript content (<script> tags) are removed from slide content.
367
+
368
+ = 2.1.13 =
369
+ * Bug fix - An array initialisation was causing a crash on hosts using a PHP version prior to 5.4. Changed this array initialisation to now be backwards compatible.
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.1.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.1.13
8
  * License: GPLv2 or later
9
  */
10