Don't timeout while importing WXR. Fixes #6089. Hat tip: tellyworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d320099c83
commit
92745e8531
|
@ -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' );
|
||||
|
|
Loading…
Reference in New Issue