[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 00:18: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 scribu):

 [attachment:22356.8.diff] transforms the factory methods into standalone
 functions, stored in media.php

 Advantages:

 * we can load the base and implementation classes on demand. Yay memory
 savings!
 * we can keep WP_Image_Editor as the base class name, which saves a lot of
 churn

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


More information about the wp-trac mailing list