Changeset 3378
- Timestamp:
- 12/29/2005 02:07:10 AM (19 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions-post.php
r3377 r3378 933 933 $url = $upload['url'] . "/$filename"; 934 934 935 return array('file' => $new_file, 'url' => $url );935 return array('file' => $new_file, 'url' => $url, 'error' => false); 936 936 } 937 937 -
trunk/xmlrpc.php
r3310 r3378 854 854 855 855 $upload = wp_upload_bits($name, $type, $bits); 856 if ( $upload['error'] !== false) {856 if ( ! empty($upload['error']) ) { 857 857 logIO('O', '(MW) Could not write file '.$name); 858 858 return new IXR_Error(500, 'Could not write file '.$name);
Note: See TracChangeset
for help on using the changeset viewer.