WordPress.org

Make WordPress Core

Changeset 22225


Ignore:
Timestamp:
10/13/12 06:46:17 (2 years ago)
Author:
nacin
Message:

Fix typo and don't always return false from image_make_intermediate_size(). props gandham, see #22181.

File:
1 edited

Legend:

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

    r22192 r22225  
    384384        $editor = WP_Image_Editor::get_instance( $file ); 
    385385 
    386         if ( is_wp_error( $editor ) || is_wp_error( $editor->resize( $width, $height, $crop ) ) ); 
     386        if ( is_wp_error( $editor ) || is_wp_error( $editor->resize( $width, $height, $crop ) ) ) 
    387387            return false; 
    388388 
Note: See TracChangeset for help on using the changeset viewer.