Make WordPress Core

Changeset 13807


Ignore:
Timestamp:
03/23/2010 07:20:03 PM (16 years ago)
Author:
nacin
Message:

Use set_time_limit(0) in import/mt.php. see #12595

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/mt.php

    r12789 r13807  
    241241
    242242        function save_post(&$post, &$comments, &$pings) {
    243                 // Reset the counter
    244                 set_time_limit(30);
    245243                $post = get_object_vars($post);
    246244                $post = add_magic_quotes($post);
     
    497495                        case 2:
    498496                                check_admin_referer('import-mt');
     497                                set_time_limit(0);
    499498                                $result = $this->import();
    500499                                if ( is_wp_error( $result ) )
Note: See TracChangeset for help on using the changeset viewer.