WordPress.org

Plugin Directory

Changeset 778974


Ignore:
Timestamp:
09/26/13 22:21:06 (7 months ago)
Author:
joedolson
Message:

dev 2.7.5 bug fix

Location:
wp-to-twitter/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-to-twitter/trunk/readme.txt

    r778950 r778974  
    5151 
    5252== Changelog == 
     53 
     54= 2.7.5 = 
     55 
     56* Setting a post to 'pending' or any custom status caused a Tweet to be published in 2.7.4 
    5357 
    5458= 2.7.4 = 
  • wp-to-twitter/trunk/wp-to-twitter.php

    r778947 r778974  
    14671467    if ( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE || wp_is_post_revision( $id ) ) return; 
    14681468    $post = get_post( $id ); 
    1469     if ( $post->post_status == 'auto-draft' || $post->post_status == 'draft' ) return; 
     1469    if ( $post->post_status != 'publish' ) return; // is there any reason to accept any other status? 
    14701470    //$post_type_settings = get_option('wpt_post_types'); 
    14711471    //if ( is_array( $post_type_settings ) ) { 
Note: See TracChangeset for help on using the changeset viewer.