[wp-trac] [WordPress Trac] #59975: Set autoload to 'no' for previously activated themes

WordPress Trac noreply at wordpress.org
Mon Dec 4 19:36:42 UTC 2023


#59975: Set autoload to 'no' for previously activated themes
------------------------------+--------------------------
 Reporter:  mukesh27          |       Owner:  flixos90
     Type:  defect (bug)      |      Status:  reviewing
 Priority:  normal            |   Milestone:  6.5
Component:  Themes            |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  performance
------------------------------+--------------------------

Comment (by flixos90):

 In [changeset:"57153" 57153]:
 {{{
 #!CommitTicketReference repository="" revision="57153"
 Themes: Avoid autoloading the previous theme's theme mods when switching
 to another theme.

 This reduces unnecessarily autoloaded data from inactive themes, which can
 contribute to slow database performance as part of excessive autoloading.

 Props mukesh27, rajinsharwar, igmoweb, joemcgill, swissspidy, westonruter,
 flixos90.
 Fixes #59537.
 See #59975.
 }}}

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


More information about the wp-trac mailing list