WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP to Twitter] doesn't catch posts going from pending to published (3 posts)

  1. justinph
    Member
    Posted 4 years ago #

    When a post is set as pending and changed to publish, this plugin will not tweet it. You can fix this by changing line 404 of wp-to-twitter.php to the following:

    if (($get_post_info->post_status == 'publish' || $_POST['publish'] == 'Publish') && ($_POST['prev_status'] == 'draft' || $_POST['original_post_status'] == 'draft' || $_POST['prev_status'] == 'pending' || $_POST['original_post_status'] == 'pending')) {

    Hopefully this will get put in the next update.

    http://wordpress.org/extend/plugins/wp-to-twitter/

  2. MulletMidget
    Member
    Posted 4 years ago #

    Thanks a lot! I had this problem too in WP 2.9.2 and the above code solved it for me. Must be fixed for the next version of WP To Twitter.

  3. Joe Dolson
    Member
    Posted 4 years ago #

    It will be - and this will be soon. I was waiting on resolution with another bug report, which was finished today. Will probably publish the new version either tomorrow or Thursday.

Topic Closed

This topic has been closed to new replies.

About this Topic