Ticket #13917: xmlrpc.2.diff
| File xmlrpc.2.diff, 497 bytes (added by josephscott, 17 months ago) |
|---|
-
wp-includes/class-wp-xmlrpc-server.php
3088 3088 // Construct the attachment array 3089 3089 // attach to post_id 0 3090 3090 $post_id = 0; 3091 if ( !empty( $data['post_id'] ) ) { 3092 $post_id = (int) $data['post_id']; 3093 } 3094 3091 3095 $attachment = array( 3092 3096 'post_title' => $name, 3093 3097 'post_content' => '',
