Ticket #10401: import-wordpress.php.patch
File import-wordpress.php.patch, 605 bytes (added by , 16 years ago) |
---|
-
wp-admin/import/wordpress.php
448 448 else { 449 449 printf(__('Importing post <em>%s</em>...'), stripslashes($post_title)); 450 450 $comment_post_ID = $post_id = wp_insert_post($postdata); 451 if ($post_status == 'future') { 452 $time = strtotime( $post_date_gmt . ' GMT' ); 453 wp_schedule_single_event( $time, 'publish_future_post', array( $post_id ) ); 454 } 455 451 456 } 452 457 453 458 if ( is_wp_error( $post_id ) )