Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #51174, comment 1


Ignore:
Timestamp:
08/28/2020 12:41:46 PM (5 years ago)
Author:
BackuPs
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51174, comment 1

    v1 v2  
    22
    33if i change the code is_gd_image back to is_resource then it works fine.
     4
     5
     6f.e. if you add this into the theme functions.php  you get the error.
     7
     8$width=400;$height=250;
     9$newimage = wp_imagecreatetruecolor( $width, $height );