Changeset 27319
- Timestamp:
- 02/27/2014 09:15:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r27219 r27319 259 259 260 260 // A successful upload will pass this test. It makes no sense to override this one. 261 if ( $file['error'] > 0 ) 262 return call_user_func($upload_error_handler, $file, $upload_error_strings[$file['error']] ); 261 if ( isset( $file['error'] ) && $file['error'] > 0 ) { 262 return call_user_func( $upload_error_handler, $file, $upload_error_strings[ $file['error'] ] ); 263 } 263 264 264 265 // A non-empty file will pass this test.
Note: See TracChangeset
for help on using the changeset viewer.