Index: wordpress.php =================================================================== --- wordpress.php (revision 10493) +++ wordpress.php (working copy) @@ -363,6 +363,7 @@ if ( $post_ID && !empty($this->post_ids_processed[$post_ID]) ) // Processed already return 0; + $orig_timelimit = ini_get('max_execution_time'); set_time_limit( 60 ); // There are only ever one of these @@ -544,6 +545,9 @@ do_action('import_post_added', $post_id); print "\n"; + + // return time limit to setting before setting it to 60 seconds + set_time_limit( $orig_timelimit ); } function process_post_meta($post_id, $key, $value) {