Tags not saved when connection to a ping service times out

Found a bug? Tell us!!
Post Reply
PHPaws
Regular
Posts: 67
Joined: Thu Jan 18, 2007 10:30 pm
Contact:

Tags not saved when connection to a ping service times out

Post by PHPaws »

Today I've discovered a rather annoying bug, I wrote a new post, assigned tags and then tried to publish it.
When two of the Ping services timed out I've tried to publish the post right again and again.
When I checked my blog, I had 3 times the same posts on it and none of them were tagged.

Now my question. Wouldn't it be possible to save the post and tags to the database before sending the pings?
Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Tags not saved when connection to a ping service times o

Post by garvinhicking »

Hi!

Simply move the pinging plugin after the tagging plugin, then tags will be saved before pinging.

It can't really be made differently, because both plugins execute on the same hook.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
PHPaws
Regular
Posts: 67
Joined: Thu Jan 18, 2007 10:30 pm
Contact:

Post by PHPaws »

Oh thanks! :D
That was the answer I was looking for! :)

Btw. Didn't you mention in another thread that you're on vacation? ;)
Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

You're welcome :)
Btw. Didn't you mention in another thread that you're on vacation? ;)
No, that thread was a few weeks or months old :)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply