WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP to Twitter] doesn’t catch posts going from pending to published

[Plugin: WP to Twitter] doesn’t catch posts going from pending to published

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP to Twitter] doesn’t catch posts going from pending to published’ is closed to new replies.
Skip to toolbar