Ultimate Tag Cloud Widget - Version 2.2.1

Version Description

  • Fixed issue with older PHP versions which doesn't support namespaces
Download this release

Release Info

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

Code changes from version 2.2 to 2.2.1

readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: exz
3
  Tags: widget, tags, configurable, tag cloud
4
  Requires at least: 3.0
5
  Tested up to: 3.6-beta2
6
- Stable tag: 2.2
7
  Donate link: https://flattr.com/thing/112193/Ultimate-Tag-Cloud-Widget
8
  License: GPLv2 or later
9
 
@@ -47,6 +47,10 @@ If you have questions, please post them in the forums.
47
 
48
  == Changelog ==
49
 
 
 
 
 
50
  = 2.2 =
51
 
52
  * [#19](https://github.com/rickard2/utcw/issues/19): Support for disabling links in tag cloud output
@@ -78,6 +82,10 @@ The upgrade notice history for the 1.x branch is available on [GitHub](https://g
78
 
79
  == Upgrade Notice ==
80
 
 
 
 
 
81
  = 2.2 =
82
 
83
  * New features, see the plugin page at wordpress.org for full details
3
  Tags: widget, tags, configurable, tag cloud
4
  Requires at least: 3.0
5
  Tested up to: 3.6-beta2
6
+ Stable tag: 2.2.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.2.1 =
51
+
52
+ * Fixed issue with older PHP versions which doesn't support namespaces
53
+
54
  = 2.2 =
55
 
56
  * [#19](https://github.com/rickard2/utcw/issues/19): Support for disabling links in tag cloud output
82
 
83
  == Upgrade Notice ==
84
 
85
+ = 2.2.1 =
86
+
87
+ * Fixes compatibility issue with PHP 5.2
88
+
89
  = 2.2 =
90
 
91
  * New features, see the plugin page at wordpress.org for full details
src/Config.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- namespace Rickard\UTCW;
4
 
5
  /**
6
  * Ultimate Tag Cloud Widget
1
  <?php
2
 
3
+ //namespace Rickard\UTCW;
4
 
5
  /**
6
  * Ultimate Tag Cloud Widget
src/Data.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- namespace Rickard\UTCW;
4
 
5
  /**
6
  * Ultimate Tag Cloud Widget
@@ -13,11 +13,11 @@ namespace Rickard\UTCW;
13
  * @since 2.0
14
  */
15
 
16
- use Rickard\UTCW\Selection\PopularityStrategy;
17
- use Rickard\UTCW\Selection\RandomStrategy;
18
- use Rickard\UTCW\Selection\SelectionStrategy;
19
- use wpdb;
20
- use stdClass;
21
 
22
  /**
23
  * Class for loading data for the cloud
1
  <?php
2
 
3
+ //namespace Rickard\UTCW;
4
 
5
  /**
6
  * Ultimate Tag Cloud Widget
13
  * @since 2.0
14
  */
15
 
16
+ //use Rickard\UTCW\Selection\PopularityStrategy;
17
+ //use Rickard\UTCW\Selection\RandomStrategy;
18
+ //use Rickard\UTCW\Selection\SelectionStrategy;
19
+ //use wpdb;
20
+ //use stdClass;
21
 
22
  /**
23
  * Class for loading data for the cloud
src/Database/QueryBuilder.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- namespace Rickard\UTCW\Database;
4
 
5
  /**
6
  * Ultimate Tag Cloud Widget
@@ -13,8 +13,8 @@ namespace Rickard\UTCW\Database;
13
  * @since 2.2
14
  */
15
 
16
- use Rickard\UTCW\Plugin;
17
- use wpdb;
18
 
19
  /**
20
  * Class to handle QTranslate multi language support
1
  <?php
2
 
3
+ //namespace Rickard\UTCW\Database;
4
 
5
  /**
6
  * Ultimate Tag Cloud Widget
13
  * @since 2.2
14
  */
15
 
16
+ //use Rickard\UTCW\Plugin;
17
+ //use wpdb;
18
 
19
  /**
20
  * Class to handle QTranslate multi language support
src/Language/QTranslateHandler.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- namespace Rickard\UTCW\Language;
4
 
5
  /**
6
  * Ultimate Tag Cloud Widget
@@ -13,9 +13,9 @@ namespace Rickard\UTCW\Language;
13
  * @since 2.2
14
  */
15
 
16
- use Rickard\UTCW\Plugin;
17
- use Rickard\UTCW\Term;
18
- use stdClass;
19
 
20
  /**
21
  * Class to handle QTranslate multi language support
1
  <?php
2
 
3
+ //namespace Rickard\UTCW\Language;
4
 
5
  /**
6
  * Ultimate Tag Cloud Widget
13
  * @since 2.2
14
  */
15
 
16
+ //use Rickard\UTCW\Plugin;
17
+ //use Rickard\UTCW\Term;
18
+ //use stdClass;
19
 
20
  /**
21
  * Class to handle QTranslate multi language support
src/Language/TranslationHandler.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- namespace Rickard\UTCW\Language;
4
 
5
  /**
6
  * Ultimate Tag Cloud Widget
@@ -13,9 +13,9 @@ namespace Rickard\UTCW\Language;
13
  * @since 2.2
14
  */
15
 
16
- use Rickard\UTCW\Plugin;
17
- use Rickard\UTCW\Term;
18
- use stdClass;
19
 
20
  /**
21
  * Abstract class to handle multi language support
1
  <?php
2
 
3
+ //namespace Rickard\UTCW\Language;
4
 
5
  /**
6
  * Ultimate Tag Cloud Widget
13
  * @since 2.2
14
  */
15
 
16
+ //use Rickard\UTCW\Plugin;
17
+ //use Rickard\UTCW\Term;
18
+ //use stdClass;
19
 
20
  /**
21
  * Abstract class to handle multi language support
src/Language/WPMLHandler.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- namespace Rickard\UTCW\Language;
4
 
5
  /**
6
  * Ultimate Tag Cloud Widget
@@ -13,9 +13,9 @@ namespace Rickard\UTCW\Language;
13
  * @since 2.2
14
  */
15
 
16
- use Rickard\UTCW\Plugin;
17
- use Rickard\UTCW\Term;
18
- use stdClass;
19
 
20
  /**
21
  * Class to handle WPML multi-language support
1
  <?php
2
 
3
+ //namespace Rickard\UTCW\Language;
4
 
5
  /**
6
  * Ultimate Tag Cloud Widget
13
  * @since 2.2
14
  */
15
 
16
+ //use Rickard\UTCW\Plugin;
17
+ //use Rickard\UTCW\Term;
18
+ //use stdClass;
19
 
20
  /**
21
  * Class to handle WPML multi-language support
src/Plugin.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- namespace Rickard\UTCW;
4
 
5
  /**
6
  * Class for general plugin integration with WordPress
@@ -9,9 +9,9 @@ namespace Rickard\UTCW;
9
  * @package utcw
10
  * @subpackage main
11
  */
12
- use Rickard\UTCW\Language\QTranslateHandler;
13
- use Rickard\UTCW\Language\TranslationHandler;
14
- use Rickard\UTCW\Language\WPMLHandler;
15
 
16
  /**
17
  * Ultimate Tag Cloud Widget
1
  <?php
2
 
3
+ //namespace Rickard\UTCW;
4
 
5
  /**
6
  * Class for general plugin integration with WordPress
9
  * @package utcw
10
  * @subpackage main
11
  */
12
+ //use Rickard\UTCW\Language\QTranslateHandler;
13
+ //use Rickard\UTCW\Language\TranslationHandler;
14
+ //use Rickard\UTCW\Language\WPMLHandler;
15
 
16
  /**
17
  * Ultimate Tag Cloud Widget
src/Render.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- namespace Rickard\UTCW;
4
 
5
  /**
6
  * Ultimate Tag Cloud Widget
1
  <?php
2
 
3
+ //namespace Rickard\UTCW;
4
 
5
  /**
6
  * Ultimate Tag Cloud Widget
src/Selection/PopularityStrategy.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- namespace Rickard\UTCW\Selection;
4
 
5
  /**
6
  * Ultimate Tag Cloud Widget
@@ -13,11 +13,11 @@ namespace Rickard\UTCW\Selection;
13
  * @since 2.2
14
  */
15
 
16
- use Rickard\UTCW\Config;
17
- use Rickard\UTCW\Database\QueryBuilder;
18
- use Rickard\UTCW\Plugin;
19
- use \stdClass;
20
- use wpdb;
21
 
22
  /**
23
  * Class to select the most popular terms from the DB
1
  <?php
2
 
3
+ //namespace Rickard\UTCW\Selection;
4
 
5
  /**
6
  * Ultimate Tag Cloud Widget
13
  * @since 2.2
14
  */
15
 
16
+ //use Rickard\UTCW\Config;
17
+ //use Rickard\UTCW\Database\QueryBuilder;
18
+ //use Rickard\UTCW\Plugin;
19
+ //use \stdClass;
20
+ //use wpdb;
21
 
22
  /**
23
  * Class to select the most popular terms from the DB
src/Selection/RandomStrategy.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- namespace Rickard\UTCW\Selection;
4
 
5
  /**
6
  * Ultimate Tag Cloud Widget
@@ -13,11 +13,11 @@ namespace Rickard\UTCW\Selection;
13
  * @since 2.2
14
  */
15
 
16
- use Rickard\UTCW\Config;
17
- use Rickard\UTCW\Database\QueryBuilder;
18
- use Rickard\UTCW\Plugin;
19
- use stdClass;
20
- use wpdb;
21
 
22
  /**
23
  * Class to select a random set of terms from the DB
1
  <?php
2
 
3
+ //namespace Rickard\UTCW\Selection;
4
 
5
  /**
6
  * Ultimate Tag Cloud Widget
13
  * @since 2.2
14
  */
15
 
16
+ //use Rickard\UTCW\Config;
17
+ //use Rickard\UTCW\Database\QueryBuilder;
18
+ //use Rickard\UTCW\Plugin;
19
+ //use stdClass;
20
+ //use wpdb;
21
 
22
  /**
23
  * Class to select a random set of terms from the DB
src/Selection/SelectionStrategy.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- namespace Rickard\UTCW\Selection;
4
 
5
  /**
6
  * Ultimate Tag Cloud Widget
@@ -13,10 +13,10 @@ namespace Rickard\UTCW\Selection;
13
  * @since 2.2
14
  */
15
 
16
- use Rickard\UTCW\Config;
17
- use Rickard\UTCW\Plugin;
18
- use \stdClass;
19
- use wpdb;
20
 
21
  /**
22
  * Abstract class to define selection strategy for finding terms
1
  <?php
2
 
3
+ //namespace Rickard\UTCW\Selection;
4
 
5
  /**
6
  * Ultimate Tag Cloud Widget
13
  * @since 2.2
14
  */
15
 
16
+ //use Rickard\UTCW\Config;
17
+ //use Rickard\UTCW\Plugin;
18
+ //use \stdClass;
19
+ //use wpdb;
20
 
21
  /**
22
  * Abstract class to define selection strategy for finding terms
src/Term.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
 
3
- namespace Rickard\UTCW;
4
 
5
- use stdClass;
6
 
7
  /**
8
  * Ultimate Tag Cloud Widget
1
  <?php
2
 
3
+ //namespace Rickard\UTCW;
4
 
5
+ //use stdClass;
6
 
7
  /**
8
  * Ultimate Tag Cloud Widget
src/Widget.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
 
3
- namespace Rickard\UTCW;
4
 
5
- use WP_Widget;
6
 
7
  /**
8
  * Ultimate Tag Cloud Widget
1
  <?php
2
 
3
+ //namespace Rickard\UTCW;
4
 
5
+ //use WP_Widget;
6
 
7
  /**
8
  * Ultimate Tag Cloud Widget
ultimate-tag-cloud-widget.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- use Rickard\UTCW\Plugin;
3
 
4
  /*
5
  Plugin Name: Ultimate tag cloud widget
1
  <?php
2
+ //use Rickard\UTCW\Plugin;
3
 
4
  /*
5
  Plugin Name: Ultimate tag cloud widget