[wp-trac] [WordPress Trac] #25038: imagecreatetruecolor fails when WP tries to make image with width of 0

WordPress Trac noreply at wordpress.org
Wed Oct 9 19:06:57 UTC 2013


#25038: imagecreatetruecolor fails when WP tries to make image with width of 0
--------------------------+---------------------
 Reporter:  pat@…         |       Owner:  nacin
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.7
Component:  Media         |     Version:  2.5
 Severity:  major         |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by nacin):

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


Comment:

 In [changeset:"25744"]:
 {{{
 #!CommitTicketReference repository="" revision="25744"
 Make sure when resizing an image according to ratio we do not end up with
 a zero-pixel width or height.

 props plocha.
 fixes #25038.
 }}}

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


More information about the wp-trac mailing list