[wp-trac] [WordPress Trac] #11946: Ensure image MIME type matches extension

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 20 12:39:42 UTC 2010


#11946: Ensure image MIME type matches extension
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:                         
     Type:  defect (bug)  |      Status:  new                    
 Priority:  lowest        |   Milestone:  Future Release         
Component:  Upload        |     Version:  3.0                    
 Severity:  minor         |    Keywords:  has-patch needs-testing
--------------------------+-------------------------------------------------

Comment(by Viper007Bond):

 This patch requires GD and should therefore be wrapped in `if (
 function_exists('getimagesize') ) {`. The patch is just a preliminary one
 though, so I won't bother updating it yet.

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


More information about the wp-trac mailing list