[wp-trac] [WordPress Trac] #11668: Attempt to detect the correct post enclosure mime type

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 30 02:59:14 UTC 2009


#11668: Attempt to detect the correct post enclosure mime type
-------------------------+--------------------------------------------------
 Reporter:  josephscott  |       Owner:           
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  3.0      
Component:  Feeds        |     Version:  2.9      
 Severity:  normal       |    Keywords:  has-patch
-------------------------+--------------------------------------------------

Comment(by azaozz):

 Nice idea, `get_allowed_mime_types()` returns an array that is prepared
 for use in a (case-insensitive) regex but in the patch it's used in a
 nested loop instead. With such short strings I don't think there will be
 any performance differences but may be good to keep the case-insensitive
 functionality.

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


More information about the wp-trac mailing list