Changeset 5055
- Timestamp:
- 03/16/2007 10:12:59 PM (19 years ago)
- File:
-
- 1 edited
-
branches/2.1/xmlrpc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.1/xmlrpc.php
r4906 r5055 862 862 $upload = wp_upload_bits($name, $type, $bits); 863 863 if ( ! empty($upload['error']) ) { 864 logIO('O', '(MW) Could not write file '.$name); 865 return new IXR_Error(500, 'Could not write file '.$name); 864 $errorString = 'Could not write file ' . $name . ' (' . $upload['error'] . ')'; 865 logIO('O', '(MW) ' . $errorString); 866 return new IXR_Error(500, $errorString); 866 867 } 867 868 // Construct the attachment array
Note: See TracChangeset
for help on using the changeset viewer.