Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c02/h06/mnt/46791/domains/thewrongadvices.com/html/wp-settings.php on line 472

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c02/h06/mnt/46791/domains/thewrongadvices.com/html/wp-settings.php on line 487

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c02/h06/mnt/46791/domains/thewrongadvices.com/html/wp-settings.php on line 494

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c02/h06/mnt/46791/domains/thewrongadvices.com/html/wp-settings.php on line 530

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c02/h06/mnt/46791/domains/thewrongadvices.com/html/wp-includes/cache.php on line 103

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c02/h06/mnt/46791/domains/thewrongadvices.com/html/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c02/h06/mnt/46791/domains/thewrongadvices.com/html/wp-includes/theme.php on line 623

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c02/h06/mnt/46791/domains/thewrongadvices.com/html/wp-content/plugins/tantan/tantan_reports.php on line 143

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c02/h06/mnt/46791/domains/thewrongadvices.com/html/wp-content/plugins/tdo-mini-forms/admin/tdomf-form-hacker.php on line 79

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c02/h06/mnt/46791/domains/thewrongadvices.com/html/wp-content/plugins/tdo-mini-forms/admin/tdomf-form-hacker.php on line 118

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c02/h06/mnt/46791/domains/thewrongadvices.com/html/wp-content/plugins/tdo-mini-forms/admin/tdomf-form-hacker.php on line 122

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c02/h06/mnt/46791/domains/thewrongadvices.com/html/wp-content/plugins/tdo-mini-forms/admin/tdomf-form-hacker.php on line 126

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c02/h06/mnt/46791/domains/thewrongadvices.com/html/wp-content/plugins/tdo-mini-forms/admin/tdomf-form-hacker.php on line 130
Ultimate Tag Warrior Bug

Monday, March 26th, 2007...2:02 am

Ultimate Tag Warrior Bug


Deprecated: Function eregi() is deprecated in /nfs/c02/h06/mnt/46791/domains/thewrongadvices.com/html/wp-content/plugins/tpbc.php on line 96

I installed the Ultimate Tag Warrior plugin yesterday and went back through all my posts and tagged every single one of them.

Soon after I started noticing missing tags on posts that I was certain I’d already tagged. I reentered the tags and when I checked back a little later they had mysteriously disappeared again.

It turns out there is a bug in the latest version of Ultimate Tag Warrior which causes the tags for a post to be deleted whenever someone leaves a comment or trackback.

I found the fix over at Donncha’s blog.

It’s pretty straight forward.

Open up the file ultimate-tag-warrior-actions.php and look for the following lines of code starting on line 862:

// Save changes to tags
add_action(’publish_post’, array(’UltimateTagWarriorActions’,'ultimate_save_tags’));
add_action(’edit_post’, array(’UltimateTagWarriorActions’,'ultimate_save_tags’));
add_action(’save_post’, array(’UltimateTagWarriorActions’,'ultimate_save_tags’));
add_action(’wp_insert_post’, array(’UltimateTagWarriorActions’,'ultimate_save_tags’));

Replace those lines with the following code:

// Save changes to tags
add_action(’save_post’, array(’UltimateTagWarriorActions’,'ultimate_save_tags’));
if($wp_db_version < 3308 ) { // if lesser than WP 2.0
  add_action(’publish_post’, array(’UltimateTagWarriorActions’,'ultimate_save_tags’));
  add_action(’edit_post’, array(’UltimateTagWarriorActions’,'ultimate_save_tags’));
  add_action(’wp_insert_post’, array(’UltimateTagWarriorActions’,'ultimate_save_tags’));
}

I haven’t had any tags disappear on me since I made those changes so it looks like it’s a solid solution to this bug.

7 Comments

  • The latest version of UTW had a fix already for it. I guess you’re trying out a older version. Checkout the UTW plugin homepage

  • Benedict it says it was fixed but I’m definetly running the latest version and the bug is still there. That fix does work though.

  • Dan, I’m not sure which version you’re running..!! But I’m using UTW 3.14159265 which has the issue fixed and I’m running the same in my blog and not facing this issue anymore.

  • Thanks for the post man , i just now noitced the same problem on my blog now . will fix it soon .

  • Benedict that’s the version I’m running. It could have been clashing with another plugin. Either way it’s fixed. It was very frustrating at the time.

  • Oh.. Might be… anyway you have a fix in hand..!! but I’m sure i didn’t fix it manually either.

  • hello, kind regards from Argentina!

    i have a problem, with WP 2.1.2 and UTW 3.0.1 when I publish a post, there is no problem with the tags.. so… when I change the timestamp to program this post to the future, the tags doesn’t shows.. but in the DB appears..

    i doesn’t found any information of this

    thanks!

Leave a Reply

You must be logged in to post a comment.

Blogarama - The Blog Directory Personal Blogs - Blog Top Sites Link With Us - Web Directory