[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 09:52:18 UTC 2012
#22356: Deprecate gd_edit_image_support() and replace it with a better method
--------------------------+--------------------------
Reporter: markoheijnen | Owner: DH-Shredder
Type: enhancement | Status: closed
Priority: normal | Milestone: 3.5
Component: Media | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------+--------------------------
Changes (by nacin):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"22817"]:
{{{
#!CommitTicketReference repository="" revision="22817"
WP_Image_Editor: the last stand.
* Have wp_get_image_editor() rather than WP_Image_Editor::get_instance().
Having static factory methods would be less confusing if there weren't
also static methods tied to individual editor implementations.
* Lazy-load the WP_Image_Editor base class and editor implementations.
* Have WP_Image_Editor_GD::supports_mime_type() actually check which
types it supports.
* Deprecate gd_edit_image_support() in favor of
wp_image_editor_supports().
props DH-Shredder, scribu, markoheijnen. fixes #22356. see #6821.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22356#comment:28>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list