[wp-trac] [WordPress Trac] #22438: wp_generate_attachment_metadata() should not call WP_Image_Editor if there's nothing to resize

WordPress Trac noreply at wordpress.org
Wed Nov 14 14:26:53 UTC 2012


#22438: wp_generate_attachment_metadata() should not call WP_Image_Editor if
there's nothing to resize
--------------------------+---------------------
 Reporter:  mdawaffe      |       Owner:  nacin
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.5
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by nacin):

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


Comment:

 In [changeset:"22571"]:
 {{{
 #!CommitTicketReference repository="" revision="22571"
 wp_generate_attachment_metadata() should not call WP_Image_Editor if
 there's nothing to resize. props mdawaffe. fixes #22438.
 }}}

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


More information about the wp-trac mailing list