[wp-trac] [WordPress Trac] #22356: Deprecate gd_edit_image_support() and replace it with a better method

WordPress Trac noreply at wordpress.org
Wed Nov 21 19:06:25 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 nacin):

 test(), I imagine, was modeled after WP_HTTP. I do think test() is fine
 as-is.

 Isn't supports() basically (bool) get_instance()? In that case, it's
 basically get_instance() without load(), right?

 What's the point of supports_mime_type() if we have supports()? Can't
 WP_Image_Editor::supports() be one, while an individual implementation's
 supports() be the other?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22356#comment:22>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list