[wp-trac] [WordPress Trac] #12518: XML-RPC newMediaObject should try to work out mime-type if not supplied
WordPress Trac
noreply at wordpress.org
Wed Oct 8 05:48:29 UTC 2014
#12518: XML-RPC newMediaObject should try to work out mime-type if not supplied
---------------------------------+-----------------------------
Reporter: jonquark | Owner: josephscott
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Future Release
Component: XML-RPC | Version:
Severity: normal | Resolution: invalid
Keywords: close needs-refresh | Focuses:
---------------------------------+-----------------------------
Changes (by chriscct7):
* keywords: has-patch => close needs-refresh
* status: new => closed
* resolution: => invalid
Comment:
The XMLRPC uploader now calls `mw_newMediaObject` in 4.0 which has the
changed type param in the `wp_upload_bits` call to NULL. `wp_upload_bits`
also now checks the type of file using `wp_check_filetype()` so we're good
to go on that front to. This patch (which would need to be refreshed
anyways) is no longer needed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12518#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list