Version Description
- Fixed: Removed deprecated "This Post's Slider" option on Add Slider button
- Fixed: Added esc_url on add_query_arg()
Download this release
Release Info
Developer | n7studios |
Plugin | Slider by Soliloquy – Responsive Image Slider for WordPress |
Version | 2.3.0 |
Comparing to | |
See all releases |
Code changes from version 2.2.9 to 2.3.0
- includes/admin/common.php +1 -1
- includes/admin/editor.php +0 -11
- includes/admin/settings.php +1 -1
- readme.txt +4 -0
- soliloquy-lite.php +2 -2
includes/admin/common.php
CHANGED
@@ -88,7 +88,7 @@ class Soliloquy_Common_Admin_Lite {
|
|
88 |
|
89 |
?>
|
90 |
<div class="error">
|
91 |
-
<p><?php printf( __( 'Soliloquy Lite is now rocking v2! <strong>You need to upgrade your legacy v1 sliders to v2.</strong> <a href="%s">Click here to begin the upgrade process.</a>', 'soliloquy' ), add_query_arg( 'page', 'soliloquy-lite-settings', admin_url( 'edit.php?post_type=soliloquy' ) ) ); ?></p>
|
92 |
</div>
|
93 |
<?php
|
94 |
|
88 |
|
89 |
?>
|
90 |
<div class="error">
|
91 |
+
<p><?php printf( __( 'Soliloquy Lite is now rocking v2! <strong>You need to upgrade your legacy v1 sliders to v2.</strong> <a href="%s">Click here to begin the upgrade process.</a>', 'soliloquy' ), esc_url( add_query_arg( 'page', 'soliloquy-lite-settings', admin_url( 'edit.php?post_type=soliloquy' ) ) ) ); ?></p>
|
92 |
</div>
|
93 |
<?php
|
94 |
|
includes/admin/editor.php
CHANGED
@@ -132,17 +132,6 @@ class Soliloquy_Editor_Lite {
|
|
132 |
<div class="media-frame-content">
|
133 |
<div class="attachments-browser">
|
134 |
<ul class="soliloquy-meta attachments" style="padding-left: 8px; top: 1em;">
|
135 |
-
<li class="attachment" data-soliloquy-id="<?php echo absint( $post->ID ); ?>" style="margin: 8px;">
|
136 |
-
<div class="attachment-preview">
|
137 |
-
<div class="thumbnail">
|
138 |
-
<div class="inside">
|
139 |
-
<h3 style="margin: 0;color: #7ad03a;"><?php _e( 'This Post\'s Slider', 'soliloquy' ); ?></h3>
|
140 |
-
<code style="color: #7ad03a;">[soliloquy id="<?php echo absint( $post->ID ); ?>"]</code>
|
141 |
-
</div>
|
142 |
-
</div>
|
143 |
-
<a class="check" href="#"><div class="media-modal-icon"></div></a>
|
144 |
-
</div>
|
145 |
-
</li>
|
146 |
<?php foreach ( (array) $sliders as $slider ) : if ( $post->ID == $slider['id'] ) continue; ?>
|
147 |
<li class="attachment" data-soliloquy-id="<?php echo absint( $slider['id'] ); ?>" style="margin: 8px;">
|
148 |
<div class="attachment-preview">
|
132 |
<div class="media-frame-content">
|
133 |
<div class="attachments-browser">
|
134 |
<ul class="soliloquy-meta attachments" style="padding-left: 8px; top: 1em;">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
<?php foreach ( (array) $sliders as $slider ) : if ( $post->ID == $slider['id'] ) continue; ?>
|
136 |
<li class="attachment" data-soliloquy-id="<?php echo absint( $slider['id'] ); ?>" style="margin: 8px;">
|
137 |
<div class="attachment-preview">
|
includes/admin/settings.php
CHANGED
@@ -147,7 +147,7 @@ class Soliloquy_Settings_Lite {
|
|
147 |
'soliloquy_settings',
|
148 |
array(
|
149 |
'ajax' => admin_url( 'admin-ajax.php' ),
|
150 |
-
'redirect' => add_query_arg( array( 'post_type' => 'soliloquy', 'soliloquy-upgraded' => true ), admin_url( 'edit.php' ) ),
|
151 |
'upgrade_nonce' => wp_create_nonce( 'soliloquy-upgrade' )
|
152 |
)
|
153 |
);
|
147 |
'soliloquy_settings',
|
148 |
array(
|
149 |
'ajax' => admin_url( 'admin-ajax.php' ),
|
150 |
+
'redirect' => esc_url( add_query_arg( array( 'post_type' => 'soliloquy', 'soliloquy-upgraded' => true ), admin_url( 'edit.php' ) ) ),
|
151 |
'upgrade_nonce' => wp_create_nonce( 'soliloquy-upgrade' )
|
152 |
)
|
153 |
);
|
readme.txt
CHANGED
@@ -87,6 +87,10 @@ Soliloquy has many Addons that extend its default functionality to make it do in
|
|
87 |
|
88 |
== Changelog ==
|
89 |
|
|
|
|
|
|
|
|
|
90 |
= 2.2.9 =
|
91 |
* Added: is_mobile() checking enhanced to also use wp_is_mobile() if other checks return false
|
92 |
|
87 |
|
88 |
== Changelog ==
|
89 |
|
90 |
+
= 2.3.0 =
|
91 |
+
* Fixed: Removed deprecated "This Post's Slider" option on Add Slider button
|
92 |
+
* Fixed: Added esc_url on add_query_arg()
|
93 |
+
|
94 |
= 2.2.9 =
|
95 |
* Added: is_mobile() checking enhanced to also use wp_is_mobile() if other checks return false
|
96 |
|
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.
|
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.
|
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.0
|
9 |
* Text Domain: soliloquy
|
10 |
* Domain Path: languages
|
11 |
*
|
54 |
*
|
55 |
* @var string
|
56 |
*/
|
57 |
+
public $version = '2.3.0';
|
58 |
|
59 |
/**
|
60 |
* The name of the plugin.
|