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

WordPress Trac noreply at wordpress.org
Wed Mar 8 23:28:13 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 westonruter):

 @aussieguy123 I suggest debugging in VIP Quickstart, specifically in
 [https://github.com/Automattic/vip-
 quickstart/blob/87dcdac557c4202fe624ad38568743f21396a744/www/wp-content
 /mu-plugins/wpcom.php#L29-L37 this code]:

 {{{#!php
 <?php
 // Disable automatic creation of intermediate images
 add_filter( 'intermediate_image_sizes', 'wpcom_intermediate_sizes' );
 function wpcom_intermediate_sizes ( $sizes ) {
     if ( ! defined( 'JETPACK_DEV_DEBUG' ) || ! JETPACK_DEV_DEBUG ) {
             return array();
     }
     return $sizes;
 }
 }}}

 It's not clear to me if this `intermediate_image_sizes` filter here is
 used incorrectly, or if it is being used properly and there is a core bug,
 in regards to the site icon control.

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


More information about the wp-trac mailing list