Changeset 5565

Show
Ignore:
Timestamp:
05/27/07 22:08:42 (2 years ago)
Author:
matt
Message:

A helpful pointer for a possible cause of this error.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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.