[wp-trac] [WordPress Trac] #36501: Fatal error: Undefined class constant 'ALPHACHANNEL_UNDEFINED'
WordPress Trac
noreply at wordpress.org
Tue Apr 19 20:45:38 UTC 2016
#36501: Fatal error: Undefined class constant 'ALPHACHANNEL_UNDEFINED'
-----------------------------------+---------------------------
Reporter: gblsm | Owner: mikeschroder
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.5.1
Component: Media | Version: 4.5
Severity: normal | Resolution: fixed
Keywords: has-patch fixed-major | Focuses:
-----------------------------------+---------------------------
Changes (by ocean90):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"37245"]:
{{{
#!CommitTicketReference repository="" revision="37245"
Media: Resolve fatal error on resize with ImageMagick < 6.4.6
Improper checking for 'Imagick::ALPHACHANNEL_UNDEFINED' and
'Imagick::ALPHACHANNEL_OPAQUE' caused fatal errors for some users
with Imagick when compiled against ImageMagick < 6.4.6, when these
constants were introduced. Fixes these compatibility checks.
Merge of [37192] to the 4.5 branch.
Props gblsm.
Fixes #36501.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36501#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list