Opened 11 years ago
Closed 11 years ago
#23137 closed defect (bug) (duplicate)
xmlrpc wp.uploadFile
Reported by: | lyfeway | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.5 |
Component: | XML-RPC | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
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 ) );
Change History (2)
Note: See
TracTickets for help on using
tickets.
Duplicate of #20984.