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
|
@ -339,6 +339,8 @@ class WP_Import {
|
|||
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' );
|
||||
$post_date = $this->get_tag( $post, 'wp:post_date' );
|
||||
|
|
Loading…
Reference in New Issue