Post revisions
-
Hi there, I just upgraded all my blogs from 2.5.1 to 2.6. Right after the upgrade I noticed something strange. I’ve got a custom plugin running that generates a shorturl (using zz.gd) and posts a tweet containing a short line + posttitle + shorturl to twitter (using the API). All good there.
BUT, there’s always a but now isn’t there, each new post results in more than one tweet. Why? Because of the post-revisions. So, can someone tell me how I can easily check the status of a post at POST-time, so that only the “published” ones are used by the script and the revisions (‘inherited’) are ignore?
Any help would be appreciated.
Viewing 15 replies - 1 through 15 (of 15 total)
Viewing 15 replies - 1 through 15 (of 15 total)
- The topic ‘Post revisions’ is closed to new replies.