[wp-trac] [WordPress Trac] #36236: JS error & odd behaviour when attempting to set image as 'site icon'

WordPress Trac noreply at wordpress.org
Mon Mar 14 15:00:21 UTC 2016


#36236: JS error & odd behaviour when attempting to set image as 'site icon'
--------------------------+-----------------------------
 Reporter:  davetgreen    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Customize     |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When attempting to select an image for use with the 'site icon' feature in
 the customizer, the following JS error is generated:


 {{{
 b.trigger is not a function
 }}}

 Steps taken:

 1. Click on 'Select Image' in the Site Identity section of the Customize
 UI.
 Upload brand new image to the media.
 2. Uploaded a brand new image, exactly 512px x 512px, 23kb file size, 72
 DPI
 3. Hit 'Select'

 The image is then de-selected in the media library, and nothing else
 happens except the generation of the above error in the console.

 Tried in FF Dev Edition and latest stable Chrome.

 Interestingly, if I close the Media Library, exit the Customize UI and
 then come back and try to Select Image again there are several files using
 the site-icon-cropped-X.jpg nomenclature that have been generated.

 Clicking one of these images lets me actually select the image for use as
 the site-icon, the others have no effect.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36236>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list