id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses
11981,Bad default data for icon_dir filter in in post-template.php,chrisjean,,"Apparently an old batch of code was never updated in the get_attachment_icon_src function found in wp-includes/post-template.php. The default value for the icon_dir filter is get_template_directory()/images rather than ABSPATH.WPINC/images/crystal. This causes the returned icon path for mime type icons to not match the paired URL if the default directory is used.
The included patch has a fix that makes this filter's default value match the default value found in media.php and post.php.
The patch was generated off of 3.0-alpha.",defect (bug),closed,normal,3.1,Media,3.0,normal,fixed,has-patch,,