[wp-trac] [WordPress Trac] #22680: Check data.height and data.width before displaying dimensions

WordPress Trac noreply at wordpress.org
Sun Dec 2 21:53:47 UTC 2012


#22680: Check data.height and data.width before displaying dimensions
------------------------------+---------------------
 Reporter:  nacin             |       Owner:  nacin
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.5
Component:  Media             |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by nacin):

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


Comment:

 In [changeset:"22976"]:
 {{{
 #!CommitTicketReference repository="" revision="22976"
 Media templates: Make sure we have a width and height before printing
 dimensions. We don't calculate dimensions for icons. fixes #22680.
 }}}

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


More information about the wp-trac mailing list