Don't timeout while importing WXR. Fixes #6089. Hat tip: tellyworth.

git-svn-id: https://develop.svn.wordpress.org/trunk@7152 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2008-03-04 04:33:40 +00:00
parent 462e3bd95f
commit cea513fab1

View File

@ -338,6 +338,8 @@ class WP_Import {
$post_ID = (int) $this->get_tag( $post, 'wp:post_id' );
if ( $post_ID && !empty($this->post_ids_processed[$post_ID]) ) // Processed already
return 0;
set_time_limit( 60 );
// There are only ever one of these
$post_title = $this->get_tag( $post, 'title' );