[wp-trac] [WordPress Trac] #29245: Media Grid: .tiff files uploaded through uploader encounter an error

WordPress Trac noreply at wordpress.org
Sun Aug 17 18:50:51 UTC 2014


#29245: Media Grid: .tiff files uploaded through uploader encounter an error
--------------------------+-----------------------------------------
 Reporter:  doomwaxer     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.0
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript, administration
--------------------------+-----------------------------------------
Changes (by ocean90):

 * keywords:  needs-patch => has-patch


Comment:

 [attachment:29245.patch] checks if the property exists and fixes the JS
 error from above.

 [attachment:29245.2.patch] checks additonally for `data.sizes`: This
 property isn't set when WordPress couldn't generate any metadata for the
 image. In this case this is true, the default icon is shown:
 https://cloudup.com/cWgSi1xBFoy

 .2 is probably out of the scope.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29245#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list