Make WordPress Core


Ignore:
Timestamp:
05/27/2007 10:08:42 PM (19 years ago)
Author:
matt
Message:

A helpful pointer for a possible cause of this error.

File:
1 edited

Legend:

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

    r5542 r5565  
    125125        // A non-empty file will pass this test.
    126126        if ( $test_size && !($file['size'] > 0 ) )
    127                 return $upload_error_handler( $file, __( 'File is empty. Please upload something more substantial.' ));
     127                return $upload_error_handler( $file, __( 'File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini.' ));
    128128
    129129        // A properly uploaded file will pass this test. There should be no reason to override this one.
Note: See TracChangeset for help on using the changeset viewer.