[wp-trac] [WordPress Trac] #23137: xmlrpc wp.uploadFile

WordPress Trac noreply at wordpress.org
Mon Jan 7 19:01:02 UTC 2013


#23137: xmlrpc wp.uploadFile
-----------------------------+--------------------------
 Reporter:  lyfeway          |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  XML-RPC
  Version:  3.5              |   Severity:  normal
 Keywords:  needs-refresh    |
-----------------------------+--------------------------
 version: 3.5
 File: wp-include/functions.php
 Line: 1718
 code: @fwrite( $ifp, $bits );
 ====================
 if use xmlrpc to upload image, $bits is a encoded by base64.
 right code: @fwrite( $ifp, base64_decode( $bits ) );

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


More information about the wp-trac mailing list