[wp-trac] [WordPress Trac] #40010: Regression for #36749. Uploading an image into site_icon breaks customizer

WordPress Trac noreply at wordpress.org
Thu Mar 23 04:32:21 UTC 2017


#40010: Regression for #36749. Uploading an image into site_icon breaks customizer
--------------------------+------------------------------
 Reporter:  aussieguy123  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Customize     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by aussieguy123):

 WordPress.com VIP found the trigger for this the issue.

 We have a plugin which is removing the 'full' size via the
 'wp_prepare_attachment_for_js' filter.

 This is what triggers the bug. Either my patch or Weston's patch should
 fix the front end in cases like our where the 'full' size is removed. I
 think one should be applied, since its good practice to check if the size
 exists before using it.

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


More information about the wp-trac mailing list