Plugin Directory

Changeset 217385


Ignore:
Timestamp:
03/14/2010 11:32:05 AM (16 years ago)
Author:
Twitoaster
Message:

Updating to 1.3.5

Location:
twitoaster/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • twitoaster/trunk/readme.txt

    r204164 r217385  
    44Tags: twitter, comment, comments, post, posts, plugin, widget, wpmu, wordpress
    55Requires at least: 2.2
    6 Tested up to: 2.9.1
    7 Stable tag: 1.3.4
     6Tested up to: 2.9.2
     7Stable tag: 1.3.5
    88
    99Twitter Comments system. Automatically retrieve Twitter Replies and/or Twitter Retweets to your Blog's Posts using WP built-in comment system. Also bring Twitter Statistics.
     
    4545
    4646== Changelog ==
     47
     48= 1.3.5 =
     49* New: Twitter status update for scheduled posts
    4750
    4851= 1.3.4 =
  • twitoaster/trunk/twitoaster-post-replies.php

    r208258 r217385  
    242242    {
    243243        global $twitoaster_options;
    244         $post = get_post($post_ID);
     244        if (is_numeric($post_ID)) { $post = get_post($post_ID); }
     245        else if ((isset($post_ID->ID)) AND (is_numeric($post_ID->ID))) { $post = get_post($post_ID->ID); }
    245246        $twitoaster_meta_thread = twitoaster_post_replies_get_meta('_twitoaster_post_auto_thread', $post->ID);
    246247
    247248        // Needs Auto Threading
    248         if (($post->post_status == 'publish') AND ($twitoaster_options['post_replies']['twitter_comments'] == 'yes') AND (empty($twitoaster_meta_thread['content'])) AND ($twitoaster_meta_thread['post_replies']['auto_threads'] == 'yes') AND ((empty($twitoaster_meta_thread['working'])) OR ($twitoaster_meta_thread['working'] < (current_time('timestamp', true) - 60))))
     249        if (($twitoaster_options['post_replies']['twitter_comments'] == 'yes') AND (empty($twitoaster_meta_thread['content'])) AND ($twitoaster_meta_thread['post_replies']['auto_threads'] == 'yes') AND ((empty($twitoaster_meta_thread['working'])) OR ($twitoaster_meta_thread['working'] < (current_time('timestamp', true) - 60))))
    249250        {
    250251            // Twitoaster Meta Thread Lock
     
    308309            $twitoaster_meta_thread['working'] = false;
    309310            twitoaster_post_replies_update_meta('_twitoaster_post_auto_thread', $post->ID, $twitoaster_meta_thread);
     311
     312            return $post_ID;
    310313        }
    311314    }
     
    393396            $twitoaster_meta_thread['post_replies']['auto_threads_format'] = $currentoptions['post_replies']['auto_threads_format'];
    394397            twitoaster_post_replies_update_meta('_twitoaster_post_auto_thread', $post_ID, $twitoaster_meta_thread);
    395             twitoaster_post_replies_auto_thread($post_ID);
     398
     399            $post = get_post($post_ID);
     400            if ($post->post_status == 'publish') {
     401                twitoaster_post_replies_auto_thread($post_ID);
     402            }
     403
    396404            return $twitoaster_meta_thread;
    397405        }
     
    404412    add_action('admin_menu', 'twitoaster_add_auto_thread_box');
    405413    add_action('save_post', 'twitoaster_save_postdata');
     414    add_action('future_to_publish', 'twitoaster_post_replies_auto_thread');
    406415
    407416?>
  • twitoaster/trunk/twitoaster.php

    r203608 r217385  
    55Plugin URI: http://twitoaster.com/wordpress-plugin/
    66Description: Twitter Comments system. Automatically retrieve Twitter Replies and/or Twitter Retweets to your Blog's Posts using WP built-in comment system. Also bring Twitter Statistics.
    7 Version: 1.3.4
     7Version: 1.3.5
    88Author: Twitoaster
    99Author URI: http://twitoaster.com/
     
    4040        $currentoptions = array();
    4141
    42         $currentoptions['install_version'] = '1.3.4';
     42        $currentoptions['install_version'] = '1.3.5';
    4343        if (empty($options['install_time'])) { $currentoptions['install_time'] = current_time('timestamp', true); }
    4444        else { $currentoptions['install_time'] = $options['install_time']; }
Note: See TracChangeset for help on using the changeset viewer.