Changeset 3223819
- Timestamp:
- 01/16/2025 07:29:25 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skyword-publishing-api/tags/1.1.4/php/routes/class-skyword-authors.php
r3223809 r3223819 189 189 $upload = wp_upload_bits($fields['fileName']['value'], null, base64_decode($fields['imageData']['value'])); 190 190 if ( ! empty( $upload['error'] ) ) { 191 $errorString = sprintf( __( 'Could not write file ' . 'author-'.$userId . '(' . $upload['error'] . ')', 'skyword-publishing-api' ));191 $errorString = sprintf( 'Could not write file %1$s (%2$s)' , 'author-'.$userId, $upload['error'] ); 192 192 return new WP_REST_Response($errorString, 500); 193 193 }
Note: See TracChangeset
for help on using the changeset viewer.