Make WordPress Core


Ignore:
Timestamp:
03/25/2014 09:09:34 PM (11 years ago)
Author:
helen
Message:

Use Dashicon-style images for mime type icons. Actually moving to Dashicons via the font can be explored later, but has theme/plugin implications and requires too many changes to make it for 3.9. props melchoyce for the icons. fixes #26650.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r27668 r27726  
    603603
    604604    if ( $icon && $src = wp_mime_type_icon($attachment_id) ) {
    605         $icon_dir = apply_filters( 'icon_dir', ABSPATH . WPINC . '/images/crystal' );
     605        $icon_dir = apply_filters( 'icon_dir', ABSPATH . WPINC . '/images/media' );
    606606        $src_file = $icon_dir . '/' . wp_basename($src);
    607607        @list($width, $height) = getimagesize($src_file);
Note: See TracChangeset for help on using the changeset viewer.