Ultimate Tag Cloud Widget - Version 2.3.1

Version Description

  • Security fix for sensitive data exposed when using the debug option
Download this release

Release Info

Developer exz
Plugin Icon wp plugin Ultimate Tag Cloud Widget
Version 2.3.1
Comparing to
See all releases

Code changes from version 2.3 to 2.3.1

pages/settings.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Ultimate Tag Cloud Widget
4
  * @author Rickard Andersson <rickard@0x539.se>
5
- * @version 2.3
6
  * @license GPLv2
7
  * @package utcw
8
  * @subpackage pages
@@ -231,7 +231,7 @@ if ( ! defined( 'ABSPATH' ) ) die();
231
  <strong><label
232
  for="<?php echo $this->get_field_id( 'title' );?>"><?php _e( 'Title:', 'utcw' ) ?></label></strong><br>
233
  <input type="checkbox" id="<?php echo $this->get_field_id( 'show_title_text' ) ?>"
234
- name="<?php echo $this->get_field_name( 'show_title_text' ) ?>" <?php if ( ! isset( $renderConfig->show_title_text ) || $renderConfig->show_title_text ) echo 'checked="checked"' ?>>
235
  <label for="<?php echo $this->get_field_id( 'show_title_text' ) ?>"><?php _e( 'Show title', 'utcw' ) ?></label><br>
236
  <input type="text" id="<?php echo $this->get_field_id( 'title' );?>"
237
  name="<?php echo $this->get_field_name( 'title' );?>"
2
  /**
3
  * Ultimate Tag Cloud Widget
4
  * @author Rickard Andersson <rickard@0x539.se>
5
+ * @version 2.3.1
6
  * @license GPLv2
7
  * @package utcw
8
  * @subpackage pages
231
  <strong><label
232
  for="<?php echo $this->get_field_id( 'title' );?>"><?php _e( 'Title:', 'utcw' ) ?></label></strong><br>
233
  <input type="checkbox" id="<?php echo $this->get_field_id( 'show_title_text' ) ?>"
234
+ name="<?php echo $this->get_field_name( 'show_title_text' ) ?>" <?php if ( $renderConfig->show_title_text ) echo 'checked="checked"' ?>>
235
  <label for="<?php echo $this->get_field_id( 'show_title_text' ) ?>"><?php _e( 'Show title', 'utcw' ) ?></label><br>
236
  <input type="text" id="<?php echo $this->get_field_id( 'title' );?>"
237
  name="<?php echo $this->get_field_name( 'title' );?>"
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: exz
3
  Tags: widget, tags, configurable, tag cloud
4
  Requires at least: 3.0
5
- Tested up to: 3.6-beta3
6
- Stable tag: 2.3
7
  Donate link: https://flattr.com/thing/112193/Ultimate-Tag-Cloud-Widget
8
  License: GPLv2 or later
9
 
@@ -47,6 +47,9 @@ If you have questions, please post them in the forums.
47
 
48
  == Changelog ==
49
 
 
 
 
50
  = 2.3 =
51
 
52
  * [#27](https://github.com/rickard2/utcw/issues/27): Added filtering feature to generate a cloud of posts which have a common term/terms
@@ -97,6 +100,9 @@ The upgrade notice history for the 1.x branch is available on [GitHub](https://g
97
 
98
  == Upgrade Notice ==
99
 
 
 
 
100
  = 2.3 =
101
 
102
  * New features, see plugin page at wordpress.org for full details. Watch out for the changes in class names: https://github.com/rickard2/utcw/issues/29
2
  Contributors: exz
3
  Tags: widget, tags, configurable, tag cloud
4
  Requires at least: 3.0
5
+ Tested up to: 3.6
6
+ Stable tag: 2.3.1
7
  Donate link: https://flattr.com/thing/112193/Ultimate-Tag-Cloud-Widget
8
  License: GPLv2 or later
9
 
47
 
48
  == Changelog ==
49
 
50
+ = 2.3.1 =
51
+ * Security fix for sensitive data exposed when using the debug option
52
+
53
  = 2.3 =
54
 
55
  * [#27](https://github.com/rickard2/utcw/issues/27): Added filtering feature to generate a cloud of posts which have a common term/terms
100
 
101
  == Upgrade Notice ==
102
 
103
+ = 2.3.1 =
104
+ * Security fix for sensitive data exposed when using the debug option
105
+
106
  = 2.3 =
107
 
108
  * New features, see plugin page at wordpress.org for full details. Watch out for the changes in class names: https://github.com/rickard2/utcw/issues/29
src/Config/Config.php CHANGED
@@ -3,7 +3,7 @@
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
- * @version 2.3
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
+ * @version 2.3.1
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config
src/Config/DataConfig.php CHANGED
@@ -3,7 +3,7 @@
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
- * @version 2.3
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
+ * @version 2.3.1
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config
src/Config/RenderConfig.php CHANGED
@@ -3,7 +3,7 @@
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
- * @version 2.3
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
+ * @version 2.3.1
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config
src/Config/Type/ArrayType.php CHANGED
@@ -3,7 +3,7 @@
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
- * @version 2.3
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config-type
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
+ * @version 2.3.1
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config-type
src/Config/Type/BooleanType.php CHANGED
@@ -3,7 +3,7 @@
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
- * @version 2.3
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config-type
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
+ * @version 2.3.1
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config-type
src/Config/Type/ColorType.php CHANGED
@@ -3,7 +3,7 @@
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
- * @version 2.3
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config-type
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
+ * @version 2.3.1
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config-type
src/Config/Type/IntegerType.php CHANGED
@@ -3,7 +3,7 @@
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
- * @version 2.3
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config-type
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
+ * @version 2.3.1
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config-type
src/Config/Type/MeasurementType.php CHANGED
@@ -3,7 +3,7 @@
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
- * @version 2.3
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config-type
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
+ * @version 2.3.1
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config-type
src/Config/Type/SetType.php CHANGED
@@ -3,7 +3,7 @@
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
- * @version 2.3
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config-type
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
+ * @version 2.3.1
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config-type
src/Config/Type/StringType.php CHANGED
@@ -3,7 +3,7 @@
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
- * @version 2.3
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config-type
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
+ * @version 2.3.1
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config-type
src/Config/Type/Type.php CHANGED
@@ -3,7 +3,7 @@
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
- * @version 2.3
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config-type
3
  * Ultimate Tag Cloud Widget
4
  *
5
  * @author Rickard Andersson <rickard@0x539.se>
6
+ * @version 2.3.1
7
  * @license GPLv2
8
  * @package utcw
9
  * @subpackage config-type
src/Data.php CHANGED
@@ -6,7 +6,7 @@
6
  * Ultimate Tag Cloud Widget
7
  *
8
  * @author Rickard Andersson <rickard@0x539.se>
9
- * @version 2.3
10
  * @license GPLv2
11
  * @package utcw
12
  * @subpackage main
@@ -283,6 +283,7 @@ class UTCW_Data
283
  {
284
  unset($this->db);
285
  $this->plugin->remove('wpdb');
 
286
  $this->strategy->cleanupForDebug();
287
  }
288
  }
6
  * Ultimate Tag Cloud Widget
7
  *
8
  * @author Rickard Andersson <rickard@0x539.se>
9
+ * @version 2.3.1
10
  * @license GPLv2
11
  * @package utcw
12
  * @subpackage main
283
  {
284
  unset($this->db);
285
  $this->plugin->remove('wpdb');
286
+ $this->plugin->remove('data');
287
  $this->strategy->cleanupForDebug();
288
  }
289
  }
src/Database/QueryBuilder.php CHANGED
@@ -6,7 +6,7 @@
6
  * Ultimate Tag Cloud Widget
7
  *
8
  * @author Rickard Andersson <rickard@0x539.se>
9
- * @version 2.3
10
  * @license GPLv2
11
  * @package utcw
12
  * @subpackage language
6
  * Ultimate Tag Cloud Widget
7
  *
8
  * @author Rickard Andersson <rickard@0x539.se>
9
+ * @version 2.3.1
10
  * @license GPLv2
11
  * @package utcw
12
  * @subpackage language
src/Language/QTranslateHandler.php CHANGED
@@ -6,7 +6,7 @@
6
  * Ultimate Tag Cloud Widget
7
  *
8
  * @author Rickard Andersson <rickard@0x539.se>
9
- * @version 2.3
10
  * @license GPLv2
11
  * @package utcw
12
  * @subpackage language
6
  * Ultimate Tag Cloud Widget
7
  *
8
  * @author Rickard Andersson <rickard@0x539.se>
9
+ * @version 2.3.1
10
  * @license GPLv2
11
  * @package utcw
12
  * @subpackage language
src/Language/TranslationHandler.php CHANGED
@@ -6,7 +6,7 @@
6
  * Ultimate Tag Cloud Widget
7
  *
8
  * @author Rickard Andersson <rickard@0x539.se>
9
- * @version 2.3
10
  * @license GPLv2
11
  * @package utcw
12
  * @subpackage language
6
  * Ultimate Tag Cloud Widget
7
  *
8
  * @author Rickard Andersson <rickard@0x539.se>
9
+ * @version 2.3.1
10
  * @license GPLv2
11
  * @package utcw
12
  * @subpackage language
src/Language/WPMLHandler.php CHANGED
@@ -6,7 +6,7 @@
6
  * Ultimate Tag Cloud Widget
7
  *
8
  * @author Rickard Andersson <rickard@0x539.se>
9
- * @version 2.3
10
  * @license GPLv2
11
  * @package utcw
12
  * @subpackage language
6
  * Ultimate Tag Cloud Widget
7
  *
8
  * @author Rickard Andersson <rickard@0x539.se>
9
+ * @version 2.3.1
10
  * @license GPLv2
11
  * @package utcw
12
  * @subpackage language
src/Plugin.php CHANGED
@@ -17,7 +17,7 @@
17
  * Ultimate Tag Cloud Widget
18
  *
19
  * @author Rickard Andersson <rickard@0x539.se>
20
- * @version 2.3
21
  * @license GPLv2
22
  * @package utcw
23
  * @subpackage main
17
  * Ultimate Tag Cloud Widget
18
  *
19
  * @author Rickard Andersson <rickard@0x539.se>
20
+ * @version 2.3.1
21
  * @license GPLv2
22
  * @package utcw
23
  * @subpackage main
src/Render.php CHANGED
@@ -6,7 +6,7 @@
6
  * Ultimate Tag Cloud Widget
7
  *
8
  * @author Rickard Andersson <rickard@0x539.se>
9
- * @version 2.3
10
  * @license GPLv2
11
  * @package utcw
12
  * @subpackage main
6
  * Ultimate Tag Cloud Widget
7
  *
8
  * @author Rickard Andersson <rickard@0x539.se>
9
+ * @version 2.3.1
10
  * @license GPLv2
11
  * @package utcw
12
  * @subpackage main
src/Selection/PopularityStrategy.php CHANGED
@@ -6,7 +6,7 @@
6
  * Ultimate Tag Cloud Widget
7
  *
8
  * @author Rickard Andersson <rickard@0x539.se>
9
- * @version 2.3
10
  * @license GPLv2
11
  * @package utcw
12
  * @subpackage language
6
  * Ultimate Tag Cloud Widget
7
  *
8
  * @author Rickard Andersson <rickard@0x539.se>
9
+ * @version 2.3.1
10
  * @license GPLv2
11
  * @package utcw
12
  * @subpackage language
src/Selection/RandomStrategy.php CHANGED
@@ -6,7 +6,7 @@
6
  * Ultimate Tag Cloud Widget
7
  *
8
  * @author Rickard Andersson <rickard@0x539.se>
9
- * @version 2.3
10
  * @license GPLv2
11
  * @package utcw
12
  * @subpackage language
6
  * Ultimate Tag Cloud Widget
7
  *
8
  * @author Rickard Andersson <rickard@0x539.se>
9
+ * @version 2.3.1
10
  * @license GPLv2
11
  * @package utcw
12
  * @subpackage language
src/Selection/SelectionStrategy.php CHANGED
@@ -6,7 +6,7 @@
6
  * Ultimate Tag Cloud Widget
7
  *
8
  * @author Rickard Andersson <rickard@0x539.se>
9
- * @version 2.3
10
  * @license GPLv2
11
  * @package utcw
12
  * @subpackage selection
6
  * Ultimate Tag Cloud Widget
7
  *
8
  * @author Rickard Andersson <rickard@0x539.se>
9
+ * @version 2.3.1
10
  * @license GPLv2
11
  * @package utcw
12
  * @subpackage selection
src/Term.php CHANGED
@@ -8,7 +8,7 @@
8
  * Ultimate Tag Cloud Widget
9
  *
10
  * @author Rickard Andersson <rickard@0x539.se>
11
- * @version 2.3
12
  * @license GPLv2
13
  * @package utcw
14
  * @subpackage main
8
  * Ultimate Tag Cloud Widget
9
  *
10
  * @author Rickard Andersson <rickard@0x539.se>
11
+ * @version 2.3.1
12
  * @license GPLv2
13
  * @package utcw
14
  * @subpackage main
src/Widget.php CHANGED
@@ -8,7 +8,7 @@
8
  * Ultimate Tag Cloud Widget
9
  *
10
  * @author Rickard Andersson <rickard@0x539.se>
11
- * @version 2.3
12
  * @license GPLv2
13
  * @package utcw
14
  * @subpackage main
@@ -58,7 +58,7 @@ class UTCW_Widget extends WP_Widget
58
  * @return array
59
  * @since 1.0
60
  */
61
- public function update(array $new_instance, array $old_instance)
62
  {
63
  $load_config = isset($new_instance['load_config']) &&
64
  isset($new_instance['load_config_name']) &&
@@ -112,7 +112,7 @@ class UTCW_Widget extends WP_Widget
112
  * @return void|string
113
  * @since 1.0
114
  */
115
- public function form(array $instance)
116
  {
117
  /** @noinspection PhpUnusedLocalVariableInspection */
118
  $dataConfig = new UTCW_DataConfig($instance, $this->plugin);
@@ -149,7 +149,7 @@ class UTCW_Widget extends WP_Widget
149
  *
150
  * @param array $instance
151
  */
152
- public function widget(array $args, array $instance)
153
  {
154
  global $wpdb;
155
 
8
  * Ultimate Tag Cloud Widget
9
  *
10
  * @author Rickard Andersson <rickard@0x539.se>
11
+ * @version 2.3.1
12
  * @license GPLv2
13
  * @package utcw
14
  * @subpackage main
58
  * @return array
59
  * @since 1.0
60
  */
61
+ public function update($new_instance, $old_instance)
62
  {
63
  $load_config = isset($new_instance['load_config']) &&
64
  isset($new_instance['load_config_name']) &&
112
  * @return void|string
113
  * @since 1.0
114
  */
115
+ public function form($instance)
116
  {
117
  /** @noinspection PhpUnusedLocalVariableInspection */
118
  $dataConfig = new UTCW_DataConfig($instance, $this->plugin);
149
  *
150
  * @param array $instance
151
  */
152
+ public function widget($args, $instance)
153
  {
154
  global $wpdb;
155
 
ultimate-tag-cloud-widget.php CHANGED
@@ -5,7 +5,7 @@
5
  Plugin Name: Ultimate tag cloud widget
6
  Plugin URI: https://www.0x539.se/wordpress/ultimate-tag-cloud-widget/
7
  Description: This plugin aims to be the most configurable tag cloud widget out there.
8
- Version: 2.3
9
  Author: Rickard Andersson
10
  Author URI: https://www.0x539.se
11
  License: GPLv2
@@ -17,7 +17,7 @@ License: GPLv2
17
  * @var string
18
  * @since 2.0
19
  */
20
- define('UTCW_VERSION', '2.3');
21
 
22
  /**
23
  * If development mode is currently enabled
5
  Plugin Name: Ultimate tag cloud widget
6
  Plugin URI: https://www.0x539.se/wordpress/ultimate-tag-cloud-widget/
7
  Description: This plugin aims to be the most configurable tag cloud widget out there.
8
+ Version: 2.3.1
9
  Author: Rickard Andersson
10
  Author URI: https://www.0x539.se
11
  License: GPLv2
17
  * @var string
18
  * @since 2.0
19
  */
20
+ define('UTCW_VERSION', '2.3.1');
21
 
22
  /**
23
  * If development mode is currently enabled