Changeset 59672
- Timestamp:
- 01/21/2025 03:32:31 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r59665 r59672 6435 6435 if ( ! empty( $upload['error'] ) ) { 6436 6436 /* translators: 1: File name, 2: Error message. */ 6437 $errorString = sprintf( __( 'Could not write file %1$s (%2$s).' ), $name, $upload['error'] ); 6438 return new IXR_Error( 500, $errorString ); 6439 } 6437 $error_string = sprintf( __( 'Could not write file %1$s (%2$s).' ), $name, $upload['error'] ); 6438 return new IXR_Error( 500, $error_string ); 6439 } 6440 6440 6441 // Construct the attachment array. 6441 6442 $post_id = 0; … … 6447 6448 } 6448 6449 } 6450 6449 6451 $attachment = array( 6450 6452 'post_title' => $name,
Note: See TracChangeset
for help on using the changeset viewer.