From bc7b2b7606b1ffd07cc32b001895879475cba996 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Sat, 27 Jan 2007 22:57:29 +0000 Subject: [PATCH] Oops, two locations where this filter is called. fixes #3693 git-svn-id: http://svn.automattic.com/wordpress/trunk@4818 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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;