[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 18:06:35 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:                |
--------------------------+--------------------------

Comment (by scribu):

 I think some of the perceived complexity is due to naming. test(), for
 example, can mean anything.

 Another issue is that there are two kinds of static methods in
 WP_Image_Editor. Examples:

 a) supports(): is there ''any'' implementation that does X?
 b) test(): each implementation must implement a test() method

 I think we should make the first type of static methods stand-alone
 functions.

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


More information about the wp-trac mailing list