[wp-trac] [WordPress Trac] #12518: XML-RPC newMediaObject should try to work out mime-type if not supplied

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 4 22:00:03 UTC 2010


#12518: XML-RPC newMediaObject should try to work out mime-type if not supplied
--------------------------+-------------------------------------------------
 Reporter:  jonquark      |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:            
 Severity:  normal        |    Keywords:  has-patch 
--------------------------+-------------------------------------------------
 At least one XML-RPC client (MaStory on Maemo) does not set the type
 parameter on uploaded objects. This means we don't create appropriate
 thumbnails correctly.

 Given some clients are on fairly low-power, simple devices, it's probably
 worth Wordpress attempting to determine the mime-type, especially as
 functions calls we /already/ make on attachments will give us that
 information already for the common-case of image uploads.

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


More information about the wp-trac mailing list