[wp-trac] [WordPress Trac] #58884: The image size for the Site Logo block is hard coded to "full"

WordPress Trac noreply at wordpress.org
Sun Jul 23 19:41:10 UTC 2023


#58884: The image size for the Site Logo block is hard coded to "full"
-------------------------+-----------------------------
 Reporter:  asafm7       |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:
 Severity:  normal       |   Keywords:
  Focuses:  performance  |
-------------------------+-----------------------------
 The recommended size for the site icon is 512x512.

 The Site Logo block is coded to use the "full" size, in general-
 templates.php:


 {{{
 $image = wp_get_attachment_image( $custom_logo_id, 'full', false,
 $custom_logo_attr );
 }}}

 If the icon is at the recommended size of 512x512, the full size is much
 too big for the common use of the Site Logo block (in the header). That
 leads to a "Properly size images" warning in page-speed tools.

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


More information about the wp-trac mailing list