[wp-trac] [WordPress Trac] #21835: wp_mime_type_icon() does wp_cache_set() when it should do wp_cache_add()

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 7 21:05:00 UTC 2012


#21835: wp_mime_type_icon() does wp_cache_set() when it should do wp_cache_add()
--------------------------+------------------
 Reporter:  nacin         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------

Comment (by koopersmith):

 In [21782]:
 {{{
 #!CommitTicketReference repository="" revision="21782"
 Ensure $post_id is defined in wp_mime_type_icon() to prevent notices when
 a valid mime type string is provided. see #21835.
 }}}

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


More information about the wp-trac mailing list