Version Description
Download this release
Release Info
| Developer | gn_themes |
| Plugin | |
| Version | 5.9.2 |
| Comparing to | |
| See all releases | |
Code changes from version 5.9.1 to 5.9.2
- changelog.txt +13 -0
- includes/class-shortcodes-ultimate-activator.php +6 -0
- includes/upgrade/5.9.1.php +8 -8
- languages/shortcodes-ultimate.pot +13 -13
- readme.txt +3 -2
- shortcodes-ultimate.php +2 -2
changelog.txt
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
### 5.9.0
|
| 2 |
|
| 3 |
**Important changes**
|
| 1 |
+
### 5.9.1
|
| 2 |
+
|
| 3 |
+
**What's new**
|
| 4 |
+
|
| 5 |
+
- `[su_qrcode]` now supports nested shortcodes in the `data` attribute
|
| 6 |
+
- Improved performance by reducing the number of DB queries
|
| 7 |
+
|
| 8 |
+
**Fixes**
|
| 9 |
+
|
| 10 |
+
- Fixed issue in the Insert Shortcode tool with Taxonomy and Tax terms fields
|
| 11 |
+
- Fixed error `Posts: invalid template name` on some installations
|
| 12 |
+
|
| 13 |
+
|
| 14 |
### 5.9.0
|
| 15 |
|
| 16 |
**Important changes**
|
includes/class-shortcodes-ultimate-activator.php
CHANGED
|
@@ -91,7 +91,13 @@ class Shortcodes_Ultimate_Activator {
|
|
| 91 |
$defaults = su_get_config( 'default-settings' );
|
| 92 |
|
| 93 |
foreach ( $defaults as $option => $value ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
add_option( $option, $value );
|
|
|
|
| 95 |
}
|
| 96 |
|
| 97 |
}
|
| 91 |
$defaults = su_get_config( 'default-settings' );
|
| 92 |
|
| 93 |
foreach ( $defaults as $option => $value ) {
|
| 94 |
+
|
| 95 |
+
if ( get_option( $option, 0 ) !== 0 ) {
|
| 96 |
+
continue;
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
add_option( $option, $value );
|
| 100 |
+
|
| 101 |
}
|
| 102 |
|
| 103 |
}
|
includes/upgrade/5.9.1.php
CHANGED
|
@@ -4,17 +4,17 @@
|
|
| 4 |
* 1. Add autoload to plugin options
|
| 5 |
*/
|
| 6 |
|
| 7 |
-
$options = su_get_config( 'default-settings' );
|
| 8 |
|
| 9 |
-
foreach ( $options as $option
|
| 10 |
|
| 11 |
-
if (
|
| 12 |
-
|
| 13 |
-
|
| 14 |
|
| 15 |
-
|
| 16 |
-
add_option( $option, $value );
|
| 17 |
|
| 18 |
-
|
|
|
|
| 19 |
|
| 20 |
}
|
| 4 |
* 1. Add autoload to plugin options
|
| 5 |
*/
|
| 6 |
|
| 7 |
+
$options = array_keys( su_get_config( 'default-settings' ) );
|
| 8 |
|
| 9 |
+
foreach ( $options as $option ) {
|
| 10 |
|
| 11 |
+
if ( get_option( $option, 0 ) === 0 ) {
|
| 12 |
+
continue;
|
| 13 |
+
}
|
| 14 |
|
| 15 |
+
$value = get_option( $option );
|
|
|
|
| 16 |
|
| 17 |
+
delete_option( $option );
|
| 18 |
+
add_option( $option, $value );
|
| 19 |
|
| 20 |
}
|
languages/shortcodes-ultimate.pot
CHANGED
|
@@ -494,10 +494,14 @@ msgstr ""
|
|
| 494 |
msgid "Save current settings as preset"
|
| 495 |
msgstr ""
|
| 496 |
|
| 497 |
-
#: inc/core/generator.php:
|
| 498 |
msgid "Presets not found"
|
| 499 |
msgstr ""
|
| 500 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 501 |
#: inc/core/generator.php:602
|
| 502 |
msgid "Additional skins successfully installed"
|
| 503 |
msgstr ""
|
|
@@ -506,10 +510,6 @@ msgstr ""
|
|
| 506 |
msgid "Open dropdown to choose one of new styles"
|
| 507 |
msgstr ""
|
| 508 |
|
| 509 |
-
#: inc/core/generator.php:611
|
| 510 |
-
msgid "Get more styles"
|
| 511 |
-
msgstr ""
|
| 512 |
-
|
| 513 |
#: inc/core/widget.php:7
|
| 514 |
msgid "Shortcodes Ultimate widget"
|
| 515 |
msgstr ""
|
|
@@ -3995,10 +3995,6 @@ msgstr ""
|
|
| 3995 |
msgid "Shortcode options"
|
| 3996 |
msgstr ""
|
| 3997 |
|
| 3998 |
-
#: admin/partials/pages/shortcodes-single-content.php:47
|
| 3999 |
-
msgid "This shortcode do not have options"
|
| 4000 |
-
msgstr ""
|
| 4001 |
-
|
| 4002 |
#: admin/partials/pages/shortcodes-single-content.php:53
|
| 4003 |
msgid "Option name"
|
| 4004 |
msgstr ""
|
|
@@ -4007,6 +4003,10 @@ msgstr ""
|
|
| 4007 |
msgid "Possible values"
|
| 4008 |
msgstr ""
|
| 4009 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4010 |
#: admin/partials/pages/shortcodes-single.php:13, admin/partials/pages/shortcodes-single.php:24
|
| 4011 |
msgid "Back to shortcodes list"
|
| 4012 |
msgstr ""
|
|
@@ -4056,6 +4056,10 @@ msgstr ""
|
|
| 4056 |
msgid "Help article"
|
| 4057 |
msgstr ""
|
| 4058 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4059 |
#: includes/partials/shortcodes/posts/templates/default-loop.php:30, includes/partials/shortcodes/posts/templates/single-post.php:31
|
| 4060 |
msgid "Posted"
|
| 4061 |
msgstr ""
|
|
@@ -4068,10 +4072,6 @@ msgstr ""
|
|
| 4068 |
msgid "1 comment"
|
| 4069 |
msgstr ""
|
| 4070 |
|
| 4071 |
-
#: includes/partials/shortcodes/posts/templates/default-loop.php:46, includes/partials/shortcodes/posts/templates/list-loop.php:30, includes/partials/shortcodes/posts/templates/single-post.php:46, includes/partials/shortcodes/posts/templates/teaser-loop.php:29
|
| 4072 |
-
msgid "Posts not found"
|
| 4073 |
-
msgstr ""
|
| 4074 |
-
|
| 4075 |
#: includes/partials/shortcodes/posts/templates/single-post.php:33
|
| 4076 |
msgid "%n comments"
|
| 4077 |
msgstr ""
|
| 494 |
msgid "Save current settings as preset"
|
| 495 |
msgstr ""
|
| 496 |
|
| 497 |
+
#: inc/core/generator.php:395, inc/core/generator.php:392
|
| 498 |
msgid "Presets not found"
|
| 499 |
msgstr ""
|
| 500 |
|
| 501 |
+
#: inc/core/generator.php:611
|
| 502 |
+
msgid "Get more styles"
|
| 503 |
+
msgstr ""
|
| 504 |
+
|
| 505 |
#: inc/core/generator.php:602
|
| 506 |
msgid "Additional skins successfully installed"
|
| 507 |
msgstr ""
|
| 510 |
msgid "Open dropdown to choose one of new styles"
|
| 511 |
msgstr ""
|
| 512 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 513 |
#: inc/core/widget.php:7
|
| 514 |
msgid "Shortcodes Ultimate widget"
|
| 515 |
msgstr ""
|
| 3995 |
msgid "Shortcode options"
|
| 3996 |
msgstr ""
|
| 3997 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3998 |
#: admin/partials/pages/shortcodes-single-content.php:53
|
| 3999 |
msgid "Option name"
|
| 4000 |
msgstr ""
|
| 4003 |
msgid "Possible values"
|
| 4004 |
msgstr ""
|
| 4005 |
|
| 4006 |
+
#: admin/partials/pages/shortcodes-single-content.php:47
|
| 4007 |
+
msgid "This shortcode do not have options"
|
| 4008 |
+
msgstr ""
|
| 4009 |
+
|
| 4010 |
#: admin/partials/pages/shortcodes-single.php:13, admin/partials/pages/shortcodes-single.php:24
|
| 4011 |
msgid "Back to shortcodes list"
|
| 4012 |
msgstr ""
|
| 4056 |
msgid "Help article"
|
| 4057 |
msgstr ""
|
| 4058 |
|
| 4059 |
+
#: includes/partials/shortcodes/posts/templates/default-loop.php:46, includes/partials/shortcodes/posts/templates/list-loop.php:30, includes/partials/shortcodes/posts/templates/single-post.php:46, includes/partials/shortcodes/posts/templates/teaser-loop.php:29
|
| 4060 |
+
msgid "Posts not found"
|
| 4061 |
+
msgstr ""
|
| 4062 |
+
|
| 4063 |
#: includes/partials/shortcodes/posts/templates/default-loop.php:30, includes/partials/shortcodes/posts/templates/single-post.php:31
|
| 4064 |
msgid "Posted"
|
| 4065 |
msgstr ""
|
| 4072 |
msgid "1 comment"
|
| 4073 |
msgstr ""
|
| 4074 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4075 |
#: includes/partials/shortcodes/posts/templates/single-post.php:33
|
| 4076 |
msgid "%n comments"
|
| 4077 |
msgstr ""
|
readme.txt
CHANGED
|
@@ -6,7 +6,7 @@ Tags: shortcode, toggle, columns, button, slider
|
|
| 6 |
Requires at least: 4.6
|
| 7 |
Tested up to: 5.5
|
| 8 |
Requires PHP: 5.3
|
| 9 |
-
Stable tag: 5.9.
|
| 10 |
|
| 11 |
A comprehensive collection of visual components for your site
|
| 12 |
|
|
@@ -146,7 +146,7 @@ First, visit the [Help Center](https://getshortcodes.com/support/). If you get s
|
|
| 146 |
## Changelog
|
| 147 |
|
| 148 |
|
| 149 |
-
### 5.9.
|
| 150 |
|
| 151 |
**What's new**
|
| 152 |
|
|
@@ -157,6 +157,7 @@ First, visit the [Help Center](https://getshortcodes.com/support/). If you get s
|
|
| 157 |
|
| 158 |
- Fixed issue in the Insert Shortcode tool with Taxonomy and Tax terms fields
|
| 159 |
- Fixed error `Posts: invalid template name` on some installations
|
|
|
|
| 160 |
|
| 161 |
|
| 162 |
---
|
| 6 |
Requires at least: 4.6
|
| 7 |
Tested up to: 5.5
|
| 8 |
Requires PHP: 5.3
|
| 9 |
+
Stable tag: 5.9.2
|
| 10 |
|
| 11 |
A comprehensive collection of visual components for your site
|
| 12 |
|
| 146 |
## Changelog
|
| 147 |
|
| 148 |
|
| 149 |
+
### 5.9.2
|
| 150 |
|
| 151 |
**What's new**
|
| 152 |
|
| 157 |
|
| 158 |
- Fixed issue in the Insert Shortcode tool with Taxonomy and Tax terms fields
|
| 159 |
- Fixed error `Posts: invalid template name` on some installations
|
| 160 |
+
- This update also fixes the plugin options issue present in 5.9.1
|
| 161 |
|
| 162 |
|
| 163 |
---
|
shortcodes-ultimate.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
/**
|
| 3 |
* Plugin Name: Shortcodes Ultimate
|
| 4 |
* Plugin URI: https://getshortcodes.com/
|
| 5 |
-
* Version: 5.9.
|
| 6 |
* Author: Vladimir Anokhin
|
| 7 |
* Author URI: https://vanokhin.com/
|
| 8 |
* Description: A comprehensive collection of visual components for WordPress
|
|
@@ -14,7 +14,7 @@
|
|
| 14 |
* Define plugin constants.
|
| 15 |
*/
|
| 16 |
define( 'SU_PLUGIN_FILE', __FILE__ );
|
| 17 |
-
define( 'SU_PLUGIN_VERSION', '5.9.
|
| 18 |
|
| 19 |
/**
|
| 20 |
* Load dependencies.
|
| 2 |
/**
|
| 3 |
* Plugin Name: Shortcodes Ultimate
|
| 4 |
* Plugin URI: https://getshortcodes.com/
|
| 5 |
+
* Version: 5.9.2
|
| 6 |
* Author: Vladimir Anokhin
|
| 7 |
* Author URI: https://vanokhin.com/
|
| 8 |
* Description: A comprehensive collection of visual components for WordPress
|
| 14 |
* Define plugin constants.
|
| 15 |
*/
|
| 16 |
define( 'SU_PLUGIN_FILE', __FILE__ );
|
| 17 |
+
define( 'SU_PLUGIN_VERSION', '5.9.2' );
|
| 18 |
|
| 19 |
/**
|
| 20 |
* Load dependencies.
|
