[wp-trac] [WordPress Trac] #21292: Using wp_handle_upload in the XML-RPC

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 25 22:05:42 UTC 2012


#21292: Using wp_handle_upload in the XML-RPC
--------------------------------------+------------------
 Reporter:  markoheijnen              |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  3.5
Component:  XML-RPC                   |     Version:  1.5
 Severity:  normal                    |  Resolution:
 Keywords:  needs-patch dev-feedback  |
--------------------------------------+------------------

Comment (by markoheijnen):

 Just a weird thought. Would it make sense to fake a $_FILES array to pass
 through wp_handle_upload(). By using the code of Danilo to store the image
 localy that would make sense.

 Other solution is not using it and fix wp_upload_bits(). Looking again to
 it and they should both do the same thing. The only difference is the
 input and how to act on that.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21292#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list