wp.uploadFile cannot be attached to any post
|Reported by:||ciprian_vb||Owned by:||josephscott|
|Severity:||normal||Keywords:||has-patch commit mobile|
|Cc:||ercoli@…, jbernal@…, marko@…, max@…|
wp.uploadFile from xmlrpc.php saves each upload as an unattached file.
I wanted to attach it to a post once uploaded but a option for this does not exist and the $post_id is given the value 0 before wp_insert_attachment inside the $attachment array.
I am happy to make this enhancement if needed and approved but I'm not sure what the protocol is as this is my first time in doing this.
Change History (22)
- Component changed from General to XML-RPC
- Milestone changed from 3.0.1 to Future Release