diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php index 8bdd83d073..458894cc90 100644 --- a/wp-admin/custom-header.php +++ b/wp-admin/custom-header.php @@ -223,7 +223,7 @@ Event.observe( window, 'load', hide_text ); if ( $width == HEADER_IMAGE_WIDTH && $height == HEADER_IMAGE_HEIGHT ) { set_theme_mod('header_image', $url); - $header = apply_filters('wp_create_file_in_uploads', $header); // For replication + $header = apply_filters('wp_create_file_in_uploads', $file, $id); // For replication return $this->finished(); } elseif ( $width > HEADER_IMAGE_WIDTH ) { $oitar = $width / HEADER_IMAGE_WIDTH;