Changeset 5054
- Timestamp:
- 03/16/2007 10:12:15 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xmlrpc.php
r5008 r5054 1419 1419 $upload = wp_upload_bits($name, $type, $bits, $overwrite); 1420 1420 if ( ! empty($upload['error']) ) { 1421 logIO('O', '(MW) Could not write file '.$name); 1422 return new IXR_Error(500, 'Could not write file '.$name); 1421 $errorString = 'Could not write file ' . $name . ' (' . $upload['error'] . ')'; 1422 logIO('O', '(MW) ' . $errorString); 1423 return new IXR_Error(500, $errorString); 1423 1424 } 1424 1425 // Construct the attachment array
Note: See TracChangeset
for help on using the changeset viewer.