[wp-trac] [WordPress Trac] #22356: Deprecate gd_edit_image_support() and replace it with a better method
WordPress Trac
noreply at wordpress.org
Thu Nov 22 08:07:01 UTC 2012
#22356: Deprecate gd_edit_image_support() and replace it with a better method
--------------------------+--------------------------
Reporter: markoheijnen | Owner: DH-Shredder
Type: enhancement | Status: assigned
Priority: normal | Milestone: 3.5
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+--------------------------
Comment (by DH-Shredder):
Added [attachment:22356.9.diff 22356.9.diff] and
[attachment:22356.9.tests.diff 22356.9.tests.diff], which are
incremental passes at scribu's factory transformation and tests.
- The return of supports_mime_type(); gets called within
_wp_image_editor_choose() (scribu noted he cared less about this than some
of the other changes, so went ahead and did so)
- Unit Tests Now Pass
- Only check extension of file from factory function, per scribu's
previous patch.
- Replace all instances of WP_Image_Editor:get_instance() with
wp_get_image_editor(), both within core and tests.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22356#comment:27>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list