Bad default data for icon_dir filter in in post-template.php
|Reported by:||chrisjean||Owned by:|
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.