[wp-trac] [WordPress Trac] #22597: Image Editor checking GD directly for rotate support

WordPress Trac noreply at wordpress.org
Tue Nov 27 14:36:56 UTC 2012


#22597: Image Editor checking GD directly for rotate support
------------------------------+---------------------
 Reporter:  DH-Shredder       |       Owner:  ryan
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.5
Component:  Media             |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by ryan):

 * owner:   => ryan
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"22863"]:
 {{{
 #!CommitTicketReference repository="" revision="22863"
 In wp_image_editor(), use wp_image_editor_supports() to check for rotation
 capabilities rather than directly checking the existence of the
 imagerotate function.

 In WP_Image_Editor_GD::test(), check for existence of imagerotate if the
 rotate capability is required.

 Props DH-Shredder
 fixes #22597
 }}}

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


More information about the wp-trac mailing list