Make WordPress Core


Ignore:
Timestamp:
11/14/2008 06:32:10 PM (16 years ago)
Author:
ryan
Message:

Use dir not url. Props DD32. fixes #8207

File:
1 edited

Legend:

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

    r9283 r9688  
    505505
    506506    if ( $icon && $src = wp_mime_type_icon($attachment_id) ) {
    507         $icon_dir = apply_filters( 'icon_dir_uri', includes_url('images/crystal') );
     507        $icon_dir = apply_filters( 'icon_dir', ABSPATH . WPINC . '/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.