Make WordPress Core


Ignore:
Timestamp:
09/14/2009 02:03:32 PM (15 years ago)
Author:
ryan
Message:

Remove trailing whitespace

File:
1 edited

Legend:

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

    r11911 r11930  
    350350
    351351    imagecopyresampled( $newimage, $image, $dst_x, $dst_y, $src_x, $src_y, $dst_w, $dst_h, $src_w, $src_h);
    352    
     352
    353353    // convert from full colors to index colors, like original PNG.
    354354    if ( IMAGETYPE_PNG == $orig_type && !imageistruecolor( $image ) )
     
    379379        // all other formats are converted to jpg
    380380        $destfilename = "{$dir}/{$name}-{$suffix}.jpg";
    381         if ( !imagejpeg( $newimage, $destfilename, apply_filters( 'jpeg_quality', $jpeg_quality, 'image_resize' ) ) ) 
     381        if ( !imagejpeg( $newimage, $destfilename, apply_filters( 'jpeg_quality', $jpeg_quality, 'image_resize' ) ) )
    382382            return new WP_Error('resize_path_invalid', __( 'Resize path invalid' ));
    383383    }
     
    838838            case 'image/gif':
    839839                return function_exists('imagecreatefromgif');
    840         }       
     840        }
    841841    }
    842842    return false;
Note: See TracChangeset for help on using the changeset viewer.