Version Description
- Bug fix; fixes problem with saving "Random from preset values" setting
Download this release
Release Info
Developer | exz |
Plugin | Ultimate Tag Cloud Widget |
Version | 1.3.16 |
Comparing to | |
See all releases |
Code changes from version 1.3.15 to 1.3.16
- readme.txt +9 -2
- settings.php +2 -2
- ultimate-tag-cloud-widget.php +5 -2
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: exz
|
3 |
Tags: widget, tags, configurable, tag cloud
|
4 |
Requires at least: 2.8
|
5 |
-
Tested up to: 3.
|
6 |
-
Stable tag: 1.3.
|
7 |
Donate link: https://flattr.com/thing/112193/Ultimate-Tag-Cloud-Widget
|
8 |
|
9 |
This plugin aims to be the most configurable tag cloud widget out there, able to suit all your weird tag cloud needs.
|
@@ -58,6 +58,9 @@ This is a new plugin, haven't had any questions yet. If you have any, be sure to
|
|
58 |
|
59 |
== Changelog ==
|
60 |
|
|
|
|
|
|
|
61 |
= 1.3.15 =
|
62 |
* Bux fix; removed jquery 1.7.x dependent functions
|
63 |
|
@@ -152,6 +155,10 @@ This is a new plugin, haven't had any questions yet. If you have any, be sure to
|
|
152 |
|
153 |
== Upgrade Notice ==
|
154 |
|
|
|
|
|
|
|
|
|
155 |
= 1.3.15 =
|
156 |
|
157 |
* Bug fix; fixes problems with javascript errors on widgets page
|
2 |
Contributors: exz
|
3 |
Tags: widget, tags, configurable, tag cloud
|
4 |
Requires at least: 2.8
|
5 |
+
Tested up to: 3.4
|
6 |
+
Stable tag: 1.3.16
|
7 |
Donate link: https://flattr.com/thing/112193/Ultimate-Tag-Cloud-Widget
|
8 |
|
9 |
This plugin aims to be the most configurable tag cloud widget out there, able to suit all your weird tag cloud needs.
|
58 |
|
59 |
== Changelog ==
|
60 |
|
61 |
+
= 1.3.16 =
|
62 |
+
* Bug fix; fixes problem with saving "Random from preset values" setting
|
63 |
+
|
64 |
= 1.3.15 =
|
65 |
* Bux fix; removed jquery 1.7.x dependent functions
|
66 |
|
155 |
|
156 |
== Upgrade Notice ==
|
157 |
|
158 |
+
= 1.3.16 =
|
159 |
+
|
160 |
+
* Bug fix; fixes problem with saving "Random from preset values" setting
|
161 |
+
|
162 |
= 1.3.15 =
|
163 |
|
164 |
* Bug fix; fixes problems with javascript errors on widgets page
|
settings.php
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
* @var string $suffix
|
18 |
* @var string $reverse
|
19 |
* @var string $tags_list
|
20 |
-
* @var
|
21 |
* @var string $case_sensitive
|
22 |
* @var string $show_title
|
23 |
* @var string $debug
|
@@ -155,7 +155,7 @@
|
|
155 |
<label for="<?php echo $this->get_field_id('color_set') ?>"><?php _e("Random from preset values", 'utcw') ?></label><br>
|
156 |
<div id="<?php echo $this->get_field_id('set_chooser') ?>" <?php echo $color != "set" ? 'class="utcw-hidden"' : ""; ?>>
|
157 |
<label class="screen-reader-text" for="<?php echo $this->get_field_id('color_set_chooser') ?>"><?php _e("Random from preset values", 'utcw') ?></label>
|
158 |
-
<input type="text" name="<?php echo $this->get_field_name('color_set') ?>" id="<?php echo $this->get_field_id('color_set_chooser') ?>">
|
159 |
</div>
|
160 |
<input type="radio" name="<?php echo $this->get_field_name('color') ?>" id="<?php echo $this->get_field_id('color_span') ?>" value="span" <?php echo $color == "span" ? 'checked="checked"' : ""; ?>>
|
161 |
<label for="<?php echo $this->get_field_id('color_span') ?>"><?php _e("Spanning between values", 'utcw') ?></label><br>
|
17 |
* @var string $suffix
|
18 |
* @var string $reverse
|
19 |
* @var string $tags_list
|
20 |
+
* @var array $color_set
|
21 |
* @var string $case_sensitive
|
22 |
* @var string $show_title
|
23 |
* @var string $debug
|
155 |
<label for="<?php echo $this->get_field_id('color_set') ?>"><?php _e("Random from preset values", 'utcw') ?></label><br>
|
156 |
<div id="<?php echo $this->get_field_id('set_chooser') ?>" <?php echo $color != "set" ? 'class="utcw-hidden"' : ""; ?>>
|
157 |
<label class="screen-reader-text" for="<?php echo $this->get_field_id('color_set_chooser') ?>"><?php _e("Random from preset values", 'utcw') ?></label>
|
158 |
+
<input type="text" name="<?php echo $this->get_field_name('color_set') ?>" id="<?php echo $this->get_field_id('color_set_chooser') ?>" value="<?php echo implode(',', $color_set) ?>">
|
159 |
</div>
|
160 |
<input type="radio" name="<?php echo $this->get_field_name('color') ?>" id="<?php echo $this->get_field_id('color_span') ?>" value="span" <?php echo $color == "span" ? 'checked="checked"' : ""; ?>>
|
161 |
<label for="<?php echo $this->get_field_id('color_span') ?>"><?php _e("Spanning between values", 'utcw') ?></label><br>
|
ultimate-tag-cloud-widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Ultimate tag cloud widget
|
4 |
Plugin URI: http://www.0x539.se/wordpress/ultimate-tag-cloud-widget/
|
5 |
Description: This plugin aims to be the most configurable tag cloud widget out there, able to suit all your wierd tag cloud needs.
|
6 |
-
Version: 1.3.
|
7 |
Author: Rickard Andersson
|
8 |
Author URI: http://www.0x539.se
|
9 |
License: GPLv2
|
@@ -239,6 +239,9 @@ class UTCW extends WP_Widget {
|
|
239 |
|
240 |
// Only allow hexadecimal color values in the format #ffffff and #fff
|
241 |
foreach ($instance['color_set'] as $key => $color) {
|
|
|
|
|
|
|
242 |
if (preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $color) == 0) {
|
243 |
unset($instance['color_set'][$key]);
|
244 |
}
|
@@ -294,7 +297,7 @@ class UTCW extends WP_Widget {
|
|
294 |
* @return void|string
|
295 |
*/
|
296 |
function form($instance) {
|
297 |
-
|
298 |
// Get stored preferences
|
299 |
/** @noinspection PhpUnusedLocalVariableInspection */
|
300 |
$title = isset( $instance['title'] ) ? esc_attr($instance['title']) : '' ;
|
3 |
Plugin Name: Ultimate tag cloud widget
|
4 |
Plugin URI: http://www.0x539.se/wordpress/ultimate-tag-cloud-widget/
|
5 |
Description: This plugin aims to be the most configurable tag cloud widget out there, able to suit all your wierd tag cloud needs.
|
6 |
+
Version: 1.3.16
|
7 |
Author: Rickard Andersson
|
8 |
Author URI: http://www.0x539.se
|
9 |
License: GPLv2
|
239 |
|
240 |
// Only allow hexadecimal color values in the format #ffffff and #fff
|
241 |
foreach ($instance['color_set'] as $key => $color) {
|
242 |
+
|
243 |
+
$instance['color_set'][$key] = trim($color);
|
244 |
+
|
245 |
if (preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $color) == 0) {
|
246 |
unset($instance['color_set'][$key]);
|
247 |
}
|
297 |
* @return void|string
|
298 |
*/
|
299 |
function form($instance) {
|
300 |
+
|
301 |
// Get stored preferences
|
302 |
/** @noinspection PhpUnusedLocalVariableInspection */
|
303 |
$title = isset( $instance['title'] ) ? esc_attr($instance['title']) : '' ;
|