Changeset 11963 for trunk/wp-admin/includes/import.php
- Timestamp:
- 09/23/2009 07:06:58 AM (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
r10611 r11963 60 60 */ 61 61 function wp_import_handle_upload() { 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.' ); 64 return $file; 65 } 66 62 67 $overrides = array( 'test_form' => false, 'test_type' => false ); 63 68 $_FILES['import']['name'] .= '.txt';
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)