{"id":1841096,"date":"2011-01-02T21:38:30","date_gmt":"2011-01-02T21:38:30","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-sensitivetagcloud-wordpress-31-changes\/"},"modified":"2016-08-19T21:56:24","modified_gmt":"2016-08-19T21:56:24","slug":"plugin-sensitivetagcloud-wordpress-31-changes","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-sensitivetagcloud-wordpress-31-changes\/","title":{"rendered":"[Plugin: SensitiveTagCloud] WordPress 3.1 Changes"},"content":{"rendered":"<p>Hi,<\/p>\n<p>After I&#8217;ve updated to WordPress 3.1 (RC2), I noticed that Sensitive Tag Cloud stopped working.<\/p>\n<p>I dug into the code and changed a few things and now it seems to run fine again. &#8211; Here is what I changed:<\/p>\n<p><em>function stc_widget<\/em><\/p>\n<pre><code>if( !empty($queryvars[&#039;tag_slug__and&#039;]) )\n      $searchtags = array_merge( $searchtags, $queryvars[&#039;tag_slug__and&#039;] );<\/code><\/pre>\n<p>changed to<\/p>\n<pre><code>if( !empty($queryvars[&#039;tag&#039;]) )\n      $searchtags = array_merge( $searchtags, explode(&#039;+&#039;, $queryvars[&#039;tag&#039;]) );<\/code><\/pre>\n<p><em>function stc_get_tag_link<\/em><\/p>\n<pre><code>$taglink = str_replace(&#039;%tag%&#039;, $slugs, $taglink);\n\t\t$taglink = get_option(&#039;home&#039;) . user_trailingslashit($taglink, &#039;category&#039;);<\/code><\/pre>\n<p>changed to<\/p>\n<pre><code>$taglink = str_replace(&#039;%post_tag%&#039;, $slugs, $taglink);\n\t\t$taglink = get_option(&#039;home&#039;) . &#039;\/&#039;. user_trailingslashit($taglink, &#039;category&#039;);<\/code><\/pre>\n<p><em>function stc_get_tag_link_slugs<\/em><\/p>\n<pre><code>$stc_get_tag_link_slugs_cache[&#039;slugs_and&#039;] =\n    get_query_var(&#039;tag_slug__and&#039;);<\/code><\/pre>\n<p>changed to<\/p>\n<pre><code>$stc_get_tag_link_slugs_cache[&#039;slugs_and&#039;] =\n    explode(&#039;+&#039;, get_query_var(&#039;tag&#039;));<\/code><\/pre>\n<p>Greetz,<br \/>\nBerny<\/p>\n<p>https:\/\/wordpress.org\/extend\/plugins\/sensitive-tag-cloud\/<\/p>\n","protected":false},"template":"","class_list":["post-1841096","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1841096","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1841096\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=1841096"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}