[wp-trac] [WordPress Trac] #31124: PHP unit tests fail with fatal error, imagecreatefrompng() not defined
WordPress Trac
noreply at wordpress.org
Sun Feb 22 20:40:14 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: | Focuses:
--------------------------+--------------------
Comment (by boonebgorges):
Looking more into this, it appears that we're only using
`imagecreatefrompng()` to set up some test fixtures. We don't use the
function in this way in core, and in the related places in core that do
manipulate pngs, there are appropriate `function_exists()` checks. So I
think we can just fix this in the tests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31124#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list