1. WP 2.6.2 posts revisions & Twitter Updater

    October 5, 2008 by jerome

    * Tlktlk is using the Twitter Updater plugins. It’s quite a nice plugin, really usefull to do automated posting to a twitter account.
    But for a reason I didn’t quite grok, the twitter account was updated even when editing (save post) and/or (maybe) trough the autosave function of the new 2.6. On a few other blogs I decided to desactivate it since it was creating twits based on revision not accessible to general plugin and resulting in a 404.

    This afternoon I had a look in the WP Codex page for Actions’ Hook and I tried to replace the hook from the plugin (line 108: twitter_updater.php) and posted a new event on the blog; so far it seems it worked like a charm:


    add_action ( 'publish_post', 'vc_twit');
    //add_action ( 'save_post', 'vc_twit');