WordPress.org

Make WordPress Core

Changeset 4818


Ignore:
Timestamp:
01/27/2007 10:57:29 PM (13 years ago)
Author:
markjaquith
Message:

Oops, two locations where this filter is called. fixes #3693

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/custom-header.php

    r4817 r4818  
    229229            $oitar = $width / HEADER_IMAGE_WIDTH;
    230230            $image = wp_crop_image($file, 0, 0, $width, $height, HEADER_IMAGE_WIDTH, $height / $oitar, false, str_replace(basename($file), 'midsize-'.basename($file), $file));
    231             $image = apply_filters('wp_create_file_in_uploads', $image); // For replication
     231            $image = apply_filters('wp_create_file_in_uploads', $image, $id); // For replication
    232232
    233233            $url = str_replace(basename($url), basename($image), $url);
Note: See TracChangeset for help on using the changeset viewer.