[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 23:13:55 UTC 2010


#12518: XML-RPC newMediaObject should try to work out mime-type if not supplied
--------------------------+-------------------------------------------------
 Reporter:  jonquark      |       Owner:  josephscott   
     Type:  defect (bug)  |      Status:  new           
 Priority:  normal        |   Milestone:  Future Release
Component:  XML-RPC       |     Version:                
 Severity:  normal        |    Keywords:  has-patch     
--------------------------+-------------------------------------------------
Changes (by josephscott):

 * cc: joseph@… (added)


Comment:

 I'd suggest running this through get_allowed_mime_types() before assuming
 that the upload is an image.

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


More information about the wp-trac mailing list