[wp-trac] [WordPress Trac] #23137: xmlrpc wp.uploadFile
WordPress Trac
noreply at wordpress.org
Wed Jan 9 00:56:07 UTC 2013
#23137: xmlrpc wp.uploadFile
--------------------------+------------------------------
Reporter: lyfeway | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: XML-RPC | Version: 3.5
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Changes (by SergeyBiryukov):
* keywords: needs-refresh =>
Old description:
> 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 ) );
New description:
version: 3.5 [[BR]]
File: wp-include/functions.php [[BR]]
Line: 1718 [[BR]]
code: @fwrite( $ifp, $bits ); [[BR]]
==================== [[BR]]
if use xmlrpc to upload image, $bits is a encoded by base64. [[BR]]
right code: @fwrite( $ifp, base64_decode( $bits ) );
--
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23137#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list