[wp-trac] [WordPress Trac] #6559: The information on the file posted by xmlrpc cannot be changed by wp_handle_upload.

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 3 00:52:36 GMT 2008


#6559: The information on the file posted by xmlrpc cannot be changed by
wp_handle_upload.
----------------------+-----------------------------------------------------
 Reporter:  jyoshida  |       Owner:  anonymous
     Type:  defect    |      Status:  new      
 Priority:  normal    |   Milestone:           
Component:  XML-RPC   |     Version:  2.5      
 Severity:  normal    |    Keywords:           
----------------------+-----------------------------------------------------
 1.  The part corrected by #3395 is overwritten.

 The wp_handle_uplaod filter cannot access the uploaded file.

 2.  apply_filters() is called after wp_insert_attachment().

 Even if wp_handle_upload rewrites an information, it is recorded on the
 database for the information before a modification.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6559>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list