[wp-trac] [WordPress Trac] #54447: Site Icons on My Sites in multisite network causing performance issue

WordPress Trac noreply at wordpress.org
Thu Apr 7 22:12:48 UTC 2022


#54447: Site Icons on My Sites in multisite network causing performance issue
-------------------------------------------------+-------------------------
 Reporter:  wslyhbb                              |       Owner:  audrasjb
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.0
Component:  Toolbar                              |     Version:  5.8
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch commit assigned-for-       |     Focuses:  multisite,
  commit                                         |  performance
-------------------------------------------------+-------------------------
Changes (by audrasjb):

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


Comment:

 In [changeset:"53100" 53100]:
 {{{
 #!CommitTicketReference repository="" revision="53100"
 Toolbar: Add a filter to help remove site icons from toolbar for large
 multisite, and lazy load them by default.

 This changeset introduces the `wp_admin_bar_show_site_icons` filter to
 help developers to hide site icons from the toolbar, as it may have
 negative performance impact on large multisites. It also adds a default
 lazy load behavior for these icons.

 Props wslyhbb, sabernhardt, lkraav, kebbet, peterwilsoncc.
 Fixes #54447
 }}}

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


More information about the wp-trac mailing list