Changeset 18996
- Timestamp:
- 10/18/2011 08:33:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/image-edit.php
r17749 r18996 432 432 $parts = pathinfo($file); 433 433 $suffix = time() . rand(100, 999); 434 $default_sizes = apply_filters( 'intermediate_image_sizes', array('large', 'medium', 'thumbnail'));434 $default_sizes = get_intermediate_image_sizes(); 435 435 436 436 if ( isset($backup_sizes['full-orig']) && is_array($backup_sizes['full-orig']) ) { … … 604 604 605 605 if ( $success && ('nothumb' == $target || 'all' == $target) ) { 606 $sizes = apply_filters( 'intermediate_image_sizes', array('large', 'medium', 'thumbnail'));606 $sizes = get_intermediate_image_sizes(); 607 607 if ( 'nothumb' == $target ) 608 608 $sizes = array_diff( $sizes, array('thumbnail') );
Note: See TracChangeset
for help on using the changeset viewer.