Fix UTW plugin to avoid tag loss !

Wordpress

Ultimate Tag Warrior, one of the best plugin’s for WordPress is broken on WordPress 2.1. Yesterday I noticed that some of my popular posts were showing “No Tags“.

These popular posts were among the few lucky posts in my blog which receive some comments. It turns out that the comments themselves were the culprits which were making the tag disappear.

In fact Neato has documented a temporary patch for this “tag resetting” problem. So if you have recently upgraded to WordPress 2.1 and if you are using UTW do the following

  1. Install the latest UTW release
  2. Modify ‘ultimate_save_tags()’ function on ‘ultimate-tag-warrior-actions.php’ at line 502

if (isset($_POST['comment_post_ID'])) return $postID;
if (isset($_POST['not_spam'])) return $postID; // akismet fix
if (isset($_POST["comment"])) return $postID; // moderation.php fix

The first line already exits, you need to add 2 lines for akismet fix and moderation fix. However if you are moderating a comment, the tags will still vanish. So be careful 🙂

P.S. Also don’t forget to reset the permalinks after installing UTW; I just found out that Google Bot ended with a 404 while indexing the “tag” URL’s.

0 comments… add one

Leave a Comment