Make WordPress Core


Ignore:
Timestamp:
10/22/2008 05:09:03 PM (17 years ago)
Author:
ryan
Message:

icon_dir_uri filter instead of icon_dir. Props jmini. fixes #7947

File:
1 edited

Legend:

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

    r8925 r9280  
    505505
    506506    if ( $icon && $src = wp_mime_type_icon($attachment_id) ) {
    507         $icon_dir = apply_filters( 'icon_dir', includes_url('images/crystal') );
     507        $icon_dir = apply_filters( 'icon_dir_uri', includes_url('images/crystal') );
    508508        $src_file = $icon_dir . '/' . basename($src);
    509509        @list($width, $height) = getimagesize($src_file);
Note: See TracChangeset for help on using the changeset viewer.