Title: [Plugin: SensitiveTagCloud] WordPress 3.1 Changes
Last modified: August 19, 2016

---

# [Plugin: SensitiveTagCloud] WordPress 3.1 Changes

 *  [Bernhard Riedl](https://wordpress.org/support/users/neoxx/)
 * (@neoxx)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-sensitivetagcloud-wordpress-31-changes/)
 * Hi,
 * After I’ve updated to WordPress 3.1 (RC2), I noticed that Sensitive Tag Cloud
   stopped working.
 * I dug into the code and changed a few things and now it seems to run fine again.–
   Here is what I changed:
 * _function stc\_widget_
 *     ```
       if( !empty($queryvars['tag_slug__and']) )
             $searchtags = array_merge( $searchtags, $queryvars['tag_slug__and'] );
       ```
   
 * changed to
 *     ```
       if( !empty($queryvars['tag']) )
             $searchtags = array_merge( $searchtags, explode('+', $queryvars['tag']) );
       ```
   
 * _function stc\_get\_tag\_link_
 *     ```
       $taglink = str_replace('%tag%', $slugs, $taglink);
       		$taglink = get_option('home') . user_trailingslashit($taglink, 'category');
       ```
   
 * changed to
 *     ```
       $taglink = str_replace('%post_tag%', $slugs, $taglink);
       		$taglink = get_option('home') . '/'. user_trailingslashit($taglink, 'category');
       ```
   
 * _function stc\_get\_tag\_link\_slugs_
 *     ```
       $stc_get_tag_link_slugs_cache['slugs_and'] =
           get_query_var('tag_slug__and');
       ```
   
 * changed to
 *     ```
       $stc_get_tag_link_slugs_cache['slugs_and'] =
           explode('+', get_query_var('tag'));
       ```
   
 * Greetz,
    Berny
 * [http://wordpress.org/extend/plugins/sensitive-tag-cloud/](http://wordpress.org/extend/plugins/sensitive-tag-cloud/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [Bernhard Riedl](https://wordpress.org/support/users/neoxx/)
 * (@neoxx)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-sensitivetagcloud-wordpress-31-changes/#post-1841571)
 * Hmm, this could also be [a bug in WordPress 3.1-RC2](http://core.trac.wordpress.org/ticket/16157)
   rather than a permanent change.
 *  [migueleste](https://wordpress.org/support/users/migueleste/)
 * (@migueleste)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-sensitivetagcloud-wordpress-31-changes/#post-1841685)
 * Hi,
 * Have you managed to make it work?
 * I’m setting the option “Restricted to current tag” ON.
 * And it stopped working on 3.1… 🙁
 * I’ve tried your changes but without results…
 * Miguel
 *  [migueleste](https://wordpress.org/support/users/migueleste/)
 * (@migueleste)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-sensitivetagcloud-wordpress-31-changes/#post-1841686)
 * Hey…After all your solution works.
    I’ve tried again and it’s fine…I think.
 * But needed to upgrade to 3.1.2. Apparently 3.1.1 had some problem with the tag
   query terms..
 * Thanks!
 * miguel
 *  [dave](https://wordpress.org/support/users/mozdzanowski/)
 * (@mozdzanowski)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-sensitivetagcloud-wordpress-31-changes/#post-1841718)
 * [@migueleste](https://wordpress.org/support/users/migueleste/)
 * Have you got SensitiveTagCloud working in the latest version of WP 3.2.1 by any
   chance? I’ve installed it and set options, but the cloud isn’t even showing up.
   I’m using custom post types and a custom tag taxonomy, but I presume it should
   work with anything labeled tag, yea?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: SensitiveTagCloud] WordPress 3.1 Changes’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sensitive-tag-cloud.svg)
 * [SensitiveTagCloud](https://wordpress.org/plugins/sensitive-tag-cloud/)
 * [Support Threads](https://wordpress.org/support/plugin/sensitive-tag-cloud/)
 * [Active Topics](https://wordpress.org/support/plugin/sensitive-tag-cloud/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sensitive-tag-cloud/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sensitive-tag-cloud/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [dave](https://wordpress.org/support/users/mozdzanowski/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-sensitivetagcloud-wordpress-31-changes/#post-1841718)
 * Status: not resolved