Version Description
- Fix: Sorting slides in a slider and not clicking Update would result in loss of slider configuration
Download this release
Release Info
Developer | n7studios |
Plugin | Slider by Soliloquy – Responsive Image Slider for WordPress |
Version | 2.3.6 |
Comparing to | |
See all releases |
Code changes from version 2.3.5 to 2.3.6
- includes/admin/ajax.php +6 -1
- readme.txt +3 -0
- soliloquy-lite.php +2 -2
includes/admin/ajax.php
CHANGED
@@ -419,7 +419,12 @@ function soliloquy_lite_ajax_sort_images() {
|
|
419 |
$order = explode( ',', $_POST['order'] );
|
420 |
$post_id = absint( $_POST['post_id'] );
|
421 |
$slider_data = get_post_meta( $post_id, '_sol_slider_data', true );
|
422 |
-
|
|
|
|
|
|
|
|
|
|
|
423 |
|
424 |
// Loop through the order and generate a new array based on order received.
|
425 |
foreach ( $order as $id ) {
|
419 |
$order = explode( ',', $_POST['order'] );
|
420 |
$post_id = absint( $_POST['post_id'] );
|
421 |
$slider_data = get_post_meta( $post_id, '_sol_slider_data', true );
|
422 |
+
|
423 |
+
// Copy the slider config, removing the slides
|
424 |
+
// Stops config from getting lost when sorting + not clicking Publish/Update
|
425 |
+
$new_order = $slider_data;
|
426 |
+
unset( $new_order['slider'] );
|
427 |
+
$new_order['slider'] = array();
|
428 |
|
429 |
// Loop through the order and generate a new array based on order received.
|
430 |
foreach ( $order as $id ) {
|
readme.txt
CHANGED
@@ -87,6 +87,9 @@ Soliloquy has many Addons that extend its default functionality to make it do in
|
|
87 |
|
88 |
== Changelog ==
|
89 |
|
|
|
|
|
|
|
90 |
= 2.3.5 =
|
91 |
* Added: Minified Classic THeme CSS for better performance
|
92 |
|
87 |
|
88 |
== Changelog ==
|
89 |
|
90 |
+
= 2.3.6 =
|
91 |
+
* Fix: Sorting slides in a slider and not clicking Update would result in loss of slider configuration
|
92 |
+
|
93 |
= 2.3.5 =
|
94 |
* Added: Minified Classic THeme CSS for better performance
|
95 |
|
soliloquy-lite.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Soliloquy is best responsive WordPress slider plugin. This is the lite version.
|
6 |
* Author: Thomas Griffin
|
7 |
* Author URI: http://thomasgriffinmedia.com
|
8 |
-
* Version: 2.3.
|
9 |
* Text Domain: soliloquy
|
10 |
* Domain Path: languages
|
11 |
*
|
@@ -54,7 +54,7 @@ class Soliloquy_Lite {
|
|
54 |
*
|
55 |
* @var string
|
56 |
*/
|
57 |
-
public $version = '2.3.
|
58 |
|
59 |
/**
|
60 |
* The name of the plugin.
|
5 |
* Description: Soliloquy is best responsive WordPress slider plugin. This is the lite version.
|
6 |
* Author: Thomas Griffin
|
7 |
* Author URI: http://thomasgriffinmedia.com
|
8 |
+
* Version: 2.3.6
|
9 |
* Text Domain: soliloquy
|
10 |
* Domain Path: languages
|
11 |
*
|
54 |
*
|
55 |
* @var string
|
56 |
*/
|
57 |
+
public $version = '2.3.6';
|
58 |
|
59 |
/**
|
60 |
* The name of the plugin.
|