Changeset 4818
- Timestamp:
- 01/27/2007 10:57:29 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/custom-header.php
r4817 r4818 229 229 $oitar = $width / HEADER_IMAGE_WIDTH; 230 230 $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 replication231 $image = apply_filters('wp_create_file_in_uploads', $image, $id); // For replication 232 232 233 233 $url = str_replace(basename($url), basename($image), $url);
Note: See TracChangeset
for help on using the changeset viewer.