Changeset 11971 for trunk/wp-admin/includes/import.php
- Timestamp:
- 09/24/2009 05:19:13 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/import.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/import.php
r11963 r11971 61 61 function wp_import_handle_upload() { 62 62 if ( !isset($_FILES['import']) ) { 63 $file['error'] = __( 'File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini.' ); 63 $file['error'] = __( 'File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini.' ); 64 64 return $file; 65 65 } 66 66 67 67 $overrides = array( 'test_form' => false, 'test_type' => false ); 68 68 $_FILES['import']['name'] .= '.txt';
Note: See TracChangeset
for help on using the changeset viewer.