WordPress.org

Make WordPress Core

Changeset 5016


Ignore:
Timestamp:
03/10/2007 05:26:28 AM (11 years ago)
Author:
ryan
Message:

Make sure imageantialias exists. Props rob1n and jeppe. fixes #3939

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r5015 r5016  
    20882088    }
    20892089
    2090     imageantialias( $dst, true );
     2090    if (function_exists('imageantialias'))
     2091        imageantialias( $dst, true );
     2092   
    20912093    imagecopyresampled( $dst, $src, 0, 0, $src_x, $src_y, $dst_w, $dst_h, $src_w, $src_h );
    20922094
Note: See TracChangeset for help on using the changeset viewer.