Make WordPress Core

Changeset 6454


Ignore:
Timestamp:
12/21/2007 09:23:59 AM (16 years ago)
Author:
westi
Message:

Fix funky formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/image.php

    r6439 r6454  
    3636
    3737    // preserve PNG transparency
    38     if( IMAGETYPE_PNG == $sourceImageType && function_exists( 'imagealphablending' ) && function_exists( 'imagesavealpha' )) {
    39         imagealphablending($thumbnail, false);
    40         imagesavealpha($thumbnail,true);
    41     }   
     38    if ( IMAGETYPE_PNG == $sourceImageType && function_exists( 'imagealphablending' ) && function_exists( 'imagesavealpha' ) ) {
     39        imagealphablending( $thumbnail, false);
     40        imagesavealpha( $thumbnail, true);
     41    }
    4242   
    4343    @ imagecopyresampled( $thumbnail, $image, 0, 0, 0, 0, $image_new_width, $image_new_height, $sourceImageWidth, $sourceImageHeight );
Note: See TracChangeset for help on using the changeset viewer.