[Plugin: SensitiveTagCloud] WordPress 3.1 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,
Bernyhttps://www.ads-software.com/extend/plugins/sensitive-tag-cloud/
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Plugin: SensitiveTagCloud] WordPress 3.1 Changes’ is closed to new replies.