Make WordPress Core


Ignore:
Timestamp:
05/27/2008 05:46:01 PM (15 years ago)
Author:
ryan
Message:

First cut and better admin SSL support. see #7001

File:
1 edited

Legend:

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

    r7892 r7998  
    307307
    308308    if ( $icon && $src = wp_mime_type_icon($attachment_id) ) {
    309         $icon_dir = apply_filters( 'icon_dir', ABSPATH . WPINC . '/images/crystal' );
     309        $icon_dir = apply_filters( 'icon_dir', includes_url('images/crystal') );
    310310        $src_file = $icon_dir . '/' . basename($src);
    311311        @list($width, $height) = getimagesize($src_file);
Note: See TracChangeset for help on using the changeset viewer.