Version Description
- Removed unused legacy code
Download this release
Release Info
| Developer | n7studios |
| Plugin | |
| Version | 2.3.9 |
| Comparing to | |
| See all releases | |
Code changes from version 2.3.8 to 2.3.9
- includes/admin/ajax.php +0 -50
- readme.txt +3 -0
- soliloquy-lite.php +2 -2
includes/admin/ajax.php
CHANGED
|
@@ -359,36 +359,6 @@ function soliloquy_lite_ajax_insert_slides() {
|
|
| 359 |
$slider_data = soliloquy_ajax_prepare_slider_data( $slider_data, $id );
|
| 360 |
}
|
| 361 |
|
| 362 |
-
// Loop through the videos and add them to the slider.
|
| 363 |
-
foreach ( (array) $videos as $i => $data ) {
|
| 364 |
-
// Pass over if the main items necessary for the video are not set.
|
| 365 |
-
if ( ! isset( $data['title'] ) || ! isset( $data['url'] ) || ! isset( $data['thumb'] ) ) {
|
| 366 |
-
continue;
|
| 367 |
-
}
|
| 368 |
-
|
| 369 |
-
// Generate a custom ID for the video.
|
| 370 |
-
$id = sanitize_title_with_dashes( $slider_data['id'] . '-' . $data['title'] );
|
| 371 |
-
|
| 372 |
-
// Now add the image to the slider for this particular post.
|
| 373 |
-
$in_slider[] = $id;
|
| 374 |
-
$slider_data = soliloquy_lite_ajax_prepare_slider_data( $slider_data, $id, 'video', $data );
|
| 375 |
-
}
|
| 376 |
-
|
| 377 |
-
// Loop through the videos and add them to the slider.
|
| 378 |
-
foreach ( (array) $html as $i => $data ) {
|
| 379 |
-
// Pass over if the main items necessary for the video are not set.
|
| 380 |
-
if ( empty( $data['title'] ) || empty( $data['code'] ) ) {
|
| 381 |
-
continue;
|
| 382 |
-
}
|
| 383 |
-
|
| 384 |
-
// Generate a custom ID for the video.
|
| 385 |
-
$id = sanitize_title_with_dashes( $slider_data['id'] . '-' . $data['title'] );
|
| 386 |
-
|
| 387 |
-
// Now add the image to the slider for this particular post.
|
| 388 |
-
$in_slider[] = $id;
|
| 389 |
-
$slider_data = soliloquy_lite_ajax_prepare_slider_data( $slider_data, $id, 'html', $data );
|
| 390 |
-
}
|
| 391 |
-
|
| 392 |
// Update the slider data.
|
| 393 |
update_post_meta( $post_id, '_sol_in_slider', $in_slider );
|
| 394 |
update_post_meta( $post_id, '_sol_slider_data', $slider_data );
|
|
@@ -634,26 +604,6 @@ function soliloquy_lite_ajax_prepare_slider_data( $slider_data, $id, $type = 'im
|
|
| 634 |
'type' => $type
|
| 635 |
);
|
| 636 |
break;
|
| 637 |
-
case 'video' :
|
| 638 |
-
$slider_data['slider'][$id] = array(
|
| 639 |
-
'status' => 'pending',
|
| 640 |
-
'src' => esc_url( $data['thumb'] ),
|
| 641 |
-
'title' => esc_html( $data['title'] ),
|
| 642 |
-
'url' => esc_url( $data['url'] ),
|
| 643 |
-
'thumb' => esc_url( $data['thumb'] ),
|
| 644 |
-
'caption' => trim( $data['caption'] ),
|
| 645 |
-
'type' => $type
|
| 646 |
-
);
|
| 647 |
-
break;
|
| 648 |
-
case 'html' :
|
| 649 |
-
$slider_data['slider'][$id] = array(
|
| 650 |
-
'status' => 'pending',
|
| 651 |
-
'src' => esc_url( $data['thumb'] ),
|
| 652 |
-
'title' => esc_html( $data['title'] ),
|
| 653 |
-
'code' => trim( $data['code'] ),
|
| 654 |
-
'type' => $type
|
| 655 |
-
);
|
| 656 |
-
break;
|
| 657 |
}
|
| 658 |
|
| 659 |
$slider_data = apply_filters( 'soliloquy_ajax_item_data', $slider_data, $id, $type );
|
| 359 |
$slider_data = soliloquy_ajax_prepare_slider_data( $slider_data, $id );
|
| 360 |
}
|
| 361 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 362 |
// Update the slider data.
|
| 363 |
update_post_meta( $post_id, '_sol_in_slider', $in_slider );
|
| 364 |
update_post_meta( $post_id, '_sol_slider_data', $slider_data );
|
| 604 |
'type' => $type
|
| 605 |
);
|
| 606 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 607 |
}
|
| 608 |
|
| 609 |
$slider_data = apply_filters( 'soliloquy_ajax_item_data', $slider_data, $id, $type );
|
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.8 =
|
| 91 |
* Added: ARIA Profiles support for accessibility and screen readers
|
| 92 |
|
| 87 |
|
| 88 |
== Changelog ==
|
| 89 |
|
| 90 |
+
= 2.3.9 =
|
| 91 |
+
* Removed unused legacy code
|
| 92 |
+
|
| 93 |
= 2.3.8 =
|
| 94 |
* Added: ARIA Profiles support for accessibility and screen readers
|
| 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.9
|
| 9 |
* Text Domain: soliloquy
|
| 10 |
* Domain Path: languages
|
| 11 |
*
|
| 54 |
*
|
| 55 |
* @var string
|
| 56 |
*/
|
| 57 |
+
public $version = '2.3.9';
|
| 58 |
|
| 59 |
/**
|
| 60 |
* The name of the plugin.
|
