[wp-trac] [WordPress Trac] #22356: Deprecate gd_edit_image_support() and replace it with a better method
WordPress Trac
noreply at wordpress.org
Tue Nov 20 22:48:06 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 DH-Shredder):
Next step in [attachment:22356.3.diff 22356.3.diff].
Simplifies parameters by using $args all around.
Returns WP_Error if no path is specified on get_instance.
Accepts string for 'path' on public functions, so that developers can both
easily spawn an image editor and pass the same data to supports() and
get_instance(), if they want to do a pre-check.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22356#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list