From bae1d18310b38c55bbc94c675e74b97c4ea03551 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Sat, 27 Jan 2007 22:57:29 +0000 Subject: [PATCH] Oops, two locations where this filter is called. fixes #3693 git-svn-id: https://develop.svn.wordpress.org/trunk@4818 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/custom-header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php index 458894cc90..8b0ad34fd6 100644 --- a/wp-admin/custom-header.php +++ b/wp-admin/custom-header.php @@ -228,7 +228,7 @@ Event.observe( window, 'load', hide_text ); } elseif ( $width > HEADER_IMAGE_WIDTH ) { $oitar = $width / HEADER_IMAGE_WIDTH; $image = wp_crop_image($file, 0, 0, $width, $height, HEADER_IMAGE_WIDTH, $height / $oitar, false, str_replace(basename($file), 'midsize-'.basename($file), $file)); - $image = apply_filters('wp_create_file_in_uploads', $image); // For replication + $image = apply_filters('wp_create_file_in_uploads', $image, $id); // For replication $url = str_replace(basename($url), basename($image), $url); $width = $width / $oitar;