WordPress.org

Make WordPress Core

Changeset 7703


Ignore:
Timestamp:
04/16/08 21:59:23 (6 years ago)
Author:
ryan
Message:

image_make_intermediate_size filter from tellyworth. fixes #6580 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/media.php

    r7699 r7703  
    245245        $resized_file = image_resize($file, $width, $height, $crop); 
    246246        if ( !is_wp_error($resized_file) && $resized_file && $info = getimagesize($resized_file) ) { 
     247            $resized_file = apply_filters('image_make_intermediate_size', $resized_file); 
    247248            return array( 
    248249                'file' => basename( $resized_file ), 
Note: See TracChangeset for help on using the changeset viewer.