[wp-trac] [WordPress Trac] #31124: PHP unit tests fail with fatal error, imagecreatefrompng() not defined

WordPress Trac noreply at wordpress.org
Thu Feb 19 20:40:00 UTC 2015


#31124: PHP unit tests fail with fatal error, imagecreatefrompng() not defined
-------------------------------+--------------------
 Reporter:  iseulde            |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  4.2
Component:  Media              |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+--------------------

Comment (by boonebgorges):

 Thanks, SergeyBiryukov and voldemortensen.

 As you note, it's easy enough to do set this flag in the unit tests, but
 first I want to be sure that this isn't exposing a core bug. Are we doing
 the necessary checks in core to avoid png conversion? Or does the
 situation simply not arise if PNG support is not compiled with PHP?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31124#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list