[wp-trac] [WordPress Trac] #6821: ImageMagick support
WordPress Trac
noreply at wordpress.org
Mon Nov 12 15:16:00 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 ryan):
6821.13.diff fixes all issues I've seen so far with url fopen compat in
the custom header workflow. $src_file needs to be preserved as the
attached file name even when url fopen is used so that we don't try to
save to a filename based on the url.
Todo:
Add wp_crop_image() unit tests.
Consider adding URL handling to WP_Image_Editor::generate_filename().
Saving to a URL generates warnings like "failed to open stream: HTTP
wrapper does not support writeable connections". generate_filename() could
detect that ->file is a URL and instead save to wp_upload_dir().
--
Ticket URL: <http://core.trac.wordpress.org/ticket/6821#comment:109>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list