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

Version Description

  • Fixed a bug where the slide 'MOVE UP' button strips out some content.
Download this release

Release Info

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

Code changes from version 2.4.6 to 2.4.7

php/slide-anything-admin.php CHANGED
@@ -2564,7 +2564,8 @@ function cpt_slider_save_postdata() {
2564
  $slide1_link_url = '';
2565
  $slide1_link_target = '';
2566
  if ( isset( $_POST[ 'sa_slide' . $slide1 . '_content' ] ) ) {
2567
- $slide1_content = balanceTags( sanitize_text_field( wp_unslash( $_POST[ 'sa_slide' . $slide1 . '_content' ] ) ), true );
 
2568
  }
2569
  if ( isset( $_POST[ 'sa_slide' . $slide1 . '_image_id' ] ) ) {
2570
  $slide1_image_id = abs( intval( $_POST[ 'sa_slide' . $slide1 . '_image_id' ] ) );
@@ -2636,7 +2637,8 @@ function cpt_slider_save_postdata() {
2636
  $slide2_link_url = '';
2637
  $slide2_link_target = '';
2638
  if ( isset( $_POST[ 'sa_slide' . $slide2 . '_content' ] ) ) {
2639
- $slide2_content = balanceTags( sanitize_text_field( wp_unslash( $_POST[ 'sa_slide' . $slide2 . '_content' ] ) ), true );
 
2640
  }
2641
  if ( isset( $_POST[ 'sa_slide' . $slide2 . '_image_id' ] ) ) {
2642
  $slide2_image_id = abs( intval( $_POST[ 'sa_slide' . $slide2 . '_image_id' ] ) );
2564
  $slide1_link_url = '';
2565
  $slide1_link_target = '';
2566
  if ( isset( $_POST[ 'sa_slide' . $slide1 . '_content' ] ) ) {
2567
+ $slide1_content = wp_kses_post( wp_unslash( $_POST[ 'sa_slide' . $slide1 . '_content' ] ) );
2568
+ // $slide1_content = balanceTags( sanitize_text_field( wp_unslash( $_POST[ 'sa_slide' . $slide1 . '_content' ] ) ), true );
2569
  }
2570
  if ( isset( $_POST[ 'sa_slide' . $slide1 . '_image_id' ] ) ) {
2571
  $slide1_image_id = abs( intval( $_POST[ 'sa_slide' . $slide1 . '_image_id' ] ) );
2637
  $slide2_link_url = '';
2638
  $slide2_link_target = '';
2639
  if ( isset( $_POST[ 'sa_slide' . $slide2 . '_content' ] ) ) {
2640
+ $slide2_content = wp_kses_post( wp_unslash( $_POST[ 'sa_slide' . $slide2 . '_content' ] ) );
2641
+ // $slide2_content = balanceTags( sanitize_text_field( wp_unslash( $_POST[ 'sa_slide' . $slide2 . '_content' ] ) ), true );
2642
  }
2643
  if ( isset( $_POST[ 'sa_slide' . $slide2 . '_image_id' ] ) ) {
2644
  $slide2_image_id = abs( intval( $_POST[ 'sa_slide' . $slide2 . '_image_id' ] ) );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: slider, carousel, content slider, responsive slider, html slider, owl carousel
5
  Requires at least: 4.0
6
  Tested up to: 6.0
7
- Stable tag: 2.4.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -90,6 +90,9 @@ Adding a SLIDE ANYTHING slider using the WordPress 5.0 'Block Editor' is pretty
90
 
91
  == Changelog ==
92
 
 
 
 
93
  = 2.4.6 =
94
  * Removed the 'Slider Preview' feature as it was causing issues on some installations of WordPress.
95
 
@@ -810,3 +813,6 @@ Adding a SLIDE ANYTHING slider using the WordPress 5.0 'Block Editor' is pretty
810
 
811
  = 2.4.6 =
812
  * Removed the 'Slider Preview' feature as it was causing issues on some installations of WordPress.
 
 
 
4
  Tags: slider, carousel, content slider, responsive slider, html slider, owl carousel
5
  Requires at least: 4.0
6
  Tested up to: 6.0
7
+ Stable tag: 2.4.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
90
 
91
  == Changelog ==
92
 
93
+ = 2.4.7 =
94
+ * Fixed a bug where the slide 'MOVE UP' button strips out some content.
95
+
96
  = 2.4.6 =
97
  * Removed the 'Slider Preview' feature as it was causing issues on some installations of WordPress.
98
 
813
 
814
  = 2.4.6 =
815
  * Removed the 'Slider Preview' feature as it was causing issues on some installations of WordPress.
816
+
817
+ = 2.4.7 =
818
+ * Fixed a bug where the slide 'MOVE UP' button strips out some content.
slide-anything.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Slide Anything - Responsive Content / HTML Slider and Carousel
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
- * Version: 2.4.6
7
  *
8
  * @package WordPress_Slide_Anything
9
  * @author Simon Edge
3
  * Plugin Name: Slide Anything - Responsive Content / HTML Slider and Carousel
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
+ * Version: 2.4.7
7
  *
8
  * @package WordPress_Slide_Anything
9
  * @author Simon Edge