[wp-trac] [WordPress Trac] #6821: ImageMagick support
WordPress Trac
noreply at wordpress.org
Sat Nov 17 02:52:22 UTC 2012
#6821: ImageMagick support
-------------------------------------+-----------------------
Reporter: matt | Owner:
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 3.5
Component: Upload | Version: 2.5
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+-----------------------
Comment (by DH-Shredder):
Replying to [comment:117 scribu]:
> Why is `load()` a required method? The point at which the file is loaded
into memory (if it's a separate operation at all) seems like an
implementation detail to me, not something which the caller should be
concerned with.
That's how we handle the issue of receiving WP_Error(s) on file load in
[http://core.trac.wordpress.org/browser/trunk/wp-includes/class-wp-image-
editor.php#L40 get_instance()], since we can't receive the load status
from the constructor.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/6821#comment:118>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list