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

WordPress Trac noreply at wordpress.org
Sun Dec 2 21:30:50 UTC 2012


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

Comment (by koopersmith):

 Looks sane. We might want to improve the check for `image` types to be
 more specific, but this is a good start.

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


More information about the wp-trac mailing list