[wp-trac] [WordPress Trac] #24539: Imagick gives E_STRICT notice on PHP 5.4 due to queryFormats() static call
WordPress Trac
noreply at wordpress.org
Mon Jun 10 18:08:33 UTC 2013
#24539: Imagick gives E_STRICT notice on PHP 5.4 due to queryFormats() static call
--------------------------+------------------
Reporter: DH-Shredder | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Media | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------
Comment (by DH-Shredder):
Replying to [comment:2 nacin]:
> If this is a bug in Imagick, I would just eat the E_STRICT (as in,
wontfix) until it gets fixed upstream.
Based on the information I have at the moment, it seems like more of a PHP
5.4 _doing_it_wrong() in terms of over-enforcement of class design, but
agreed that upstream Imagick can work around this problem in a more
future-compatible way.
As mentioned in the bug report, I am not a fan of either of the options
available to us for suppressing/working around the notice. If we're fine
with the notice existing on PHP 5.4 under Imagick until it's updated
upstream (and with hosts), then I'm fine with that.
The downside is that In the meantime, if WP_DEBUG is enabled on PHP 5.4
and Imagick is used, then some things will break (like image edit
previews) while it remains enabled.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24539#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list