[wp-trac] [WordPress Trac] #33417: JS error when uploading small image as Site Icon and electing to Skip Cropping

WordPress Trac noreply at wordpress.org
Fri Sep 11 20:12:52 UTC 2015


#33417: JS error when uploading small image as Site Icon and electing to Skip
Cropping
--------------------------+-------------------------
 Reporter:  truonght      |       Owner:  ocean90
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.3.1
Component:  Customize     |     Version:  4.3
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  javascript
--------------------------+-------------------------
Changes (by ocean90):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34056"]:
 {{{
 #!CommitTicketReference repository="" revision="34056"
 Site Icon: For preview fall back to `full` size URL when `thumbnail` size
 doesn't exist.

 Prevents a JavaScript error for rare cases when cropping is skipped and
 the image is smaller than `thumbnail`.

 Props tyxla.
 Fixes #33417.
 }}}

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


More information about the wp-trac mailing list