[wp-trac] [WordPress Trac] #58185: Lazy load site meta

WordPress Trac noreply at wordpress.org
Fri May 19 12:45:09 UTC 2023


#58185: Lazy load site meta
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:
                                                 |  spacedmonkey
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.3
Component:  Networks and Sites                   |     Version:  5.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests commit      |     Focuses:  multisite,
  needs-dev-note                                 |  performance
-------------------------------------------------+-------------------------

Comment (by spacedmonkey):

 In [changeset:"55826" 55826]:
 {{{
 #!CommitTicketReference repository="" revision="55826"
 Networks and Sites: Load `WP_Metadata_Lazyloader` class file if class in
 meta.php.

 In [55818] did a check to see if `WP_Metadata_Lazyloader` class existed
 and the loaded in the class file if it did not. However, require in wp-
 settings.php was not removed and resulted in the class being loaded twice.
 To be safe, only include the class file in meta.php and remove from wp-
 settings.php file.

 Props spacedmonkey, ryelle.
 See #58185.
 }}}

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


More information about the wp-trac mailing list