[Plugin: Sk Multi Tag] Single to remove tag shows slug instead of name
-
Hello,
in German many words are capitalized so I found that a single selected tag always was shown lower case in widget, while more tags were shown correctly. Looking into code I found that in this case (only) the slug (via $selectedTags) is used instead of retrieving the tags name. I wrote a little fix, but I guess this may be coded cleaner by someone else ??
Replacing line 268 in file “sk_multitag.php” from version 1.0.2:
$delTagName = urldecode($selectedTags); foreach ( $tags as $key => $tag ) { if ($delTagName == urldecode($tag->slug)) $delTagName = $tag->name; } $delTagLinks = '<a href="'.get_option('home').'/">'.$delTagName.'</a>';
- The topic ‘[Plugin: Sk Multi Tag] Single to remove tag shows slug instead of name’ is closed to new replies.