From cea513fab1accd0c81d7e3fa56c00f329154da85 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Tue, 4 Mar 2008 04:33:40 +0000 Subject: [PATCH] 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 --- wp-admin/import/wordpress.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/import/wordpress.php b/wp-admin/import/wordpress.php index 72635c2c1f..0a23388f1a 100644 --- a/wp-admin/import/wordpress.php +++ b/wp-admin/import/wordpress.php @@ -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' );