Make WordPress Core


Ignore:
Timestamp:
02/20/2009 09:39:20 PM (16 years ago)
Author:
ryan
Message:

Append .txt to import files rather than .import. Props donncha

File:
1 edited

Legend:

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

    r9119 r10611  
    6161function wp_import_handle_upload() {
    6262    $overrides = array( 'test_form' => false, 'test_type' => false );
    63     $_FILES['import']['name'] .= '.import';
     63    $_FILES['import']['name'] .= '.txt';
    6464    $file = wp_handle_upload( $_FILES['import'], $overrides );
    6565
Note: See TracChangeset for help on using the changeset viewer.