Changeset 12659 for trunk/wp-admin/includes/image.php
- Timestamp:
- 01/08/2010 08:51:12 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/image.php
r12584 r12659 103 103 // make thumbnails and other intermediate sizes 104 104 global $_wp_additional_image_sizes; 105 $temp_sizes = array('thumbnail', 'medium', 'large'); // Standard sizes 106 if ( isset( $_wp_additional_image_sizes ) && count( $_wp_additional_image_sizes ) ) 107 $temp_sizes = array_merge( $temp_sizes, array_keys( $_wp_additional_image_sizes ) ); 108 109 $temp_sizes = apply_filters( 'intermediate_image_sizes', $temp_sizes ); 110 111 foreach ( $temp_sizes as $s ) { 105 106 foreach ( get_intermediate_image_sizes() as $s ) { 112 107 $sizes[$s] = array( 'width' => '', 'height' => '', 'crop' => FALSE ); 113 108 if ( isset( $_wp_additional_image_sizes[$s]['width'] ) )
Note: See TracChangeset
for help on using the changeset viewer.