wp_mime_type_icon() does wp_cache_set() when it should do wp_cache_add()
|Reported by:||nacin||Owned by:||nacin|
Really no reason for it to try an unconditional set, as it is only run when the get failed.
Additionally, $post_id is not set when passed to the filter if the get succeeds, as noted by koopersmith.
Change History (3)
Note: See TracTickets for help on using tickets.