Changeset 217385
- Timestamp:
- 03/14/2010 11:32:05 AM (16 years ago)
- Location:
- twitoaster/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (2 diffs)
-
twitoaster-post-replies.php (modified) (4 diffs)
-
twitoaster.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
twitoaster/trunk/readme.txt
r204164 r217385 4 4 Tags: twitter, comment, comments, post, posts, plugin, widget, wpmu, wordpress 5 5 Requires at least: 2.2 6 Tested up to: 2.9. 17 Stable tag: 1.3. 46 Tested up to: 2.9.2 7 Stable tag: 1.3.5 8 8 9 9 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. … … 45 45 46 46 == Changelog == 47 48 = 1.3.5 = 49 * New: Twitter status update for scheduled posts 47 50 48 51 = 1.3.4 = -
twitoaster/trunk/twitoaster-post-replies.php
r208258 r217385 242 242 { 243 243 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); } 245 246 $twitoaster_meta_thread = twitoaster_post_replies_get_meta('_twitoaster_post_auto_thread', $post->ID); 246 247 247 248 // 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)))) 249 250 { 250 251 // Twitoaster Meta Thread Lock … … 308 309 $twitoaster_meta_thread['working'] = false; 309 310 twitoaster_post_replies_update_meta('_twitoaster_post_auto_thread', $post->ID, $twitoaster_meta_thread); 311 312 return $post_ID; 310 313 } 311 314 } … … 393 396 $twitoaster_meta_thread['post_replies']['auto_threads_format'] = $currentoptions['post_replies']['auto_threads_format']; 394 397 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 396 404 return $twitoaster_meta_thread; 397 405 } … … 404 412 add_action('admin_menu', 'twitoaster_add_auto_thread_box'); 405 413 add_action('save_post', 'twitoaster_save_postdata'); 414 add_action('future_to_publish', 'twitoaster_post_replies_auto_thread'); 406 415 407 416 ?> -
twitoaster/trunk/twitoaster.php
r203608 r217385 5 5 Plugin URI: http://twitoaster.com/wordpress-plugin/ 6 6 Description: 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. 47 Version: 1.3.5 8 8 Author: Twitoaster 9 9 Author URI: http://twitoaster.com/ … … 40 40 $currentoptions = array(); 41 41 42 $currentoptions['install_version'] = '1.3. 4';42 $currentoptions['install_version'] = '1.3.5'; 43 43 if (empty($options['install_time'])) { $currentoptions['install_time'] = current_time('timestamp', true); } 44 44 else { $currentoptions['install_time'] = $options['install_time']; }
Note: See TracChangeset
for help on using the changeset viewer.