[wp-trac] [WordPress Trac] #39537: When switching themes, set previous theme mods as autoload = no

WordPress Trac noreply at wordpress.org
Mon Dec 4 19:49:34 UTC 2023


#39537: When switching themes, set previous theme mods as autoload = no
---------------------------------------------+--------------------------
 Reporter:  igmoweb                          |       Owner:  flixos90
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  6.5
Component:  Themes                           |     Version:  4.8
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  performance
---------------------------------------------+--------------------------

Comment (by flixos90):

 In [changeset:"57155" 57155]:
 {{{
 #!CommitTicketReference repository="" revision="57155"
 Themes: Clean up inactive themes' theme mods from being autoloaded as part
 of upcoming 6.5 upgrade routine.

 Alongside [57153], this reduces unnecessarily autoloaded data from
 inactive themes, which can contribute to slow database performance as part
 of excessive autoloading. This changeset specifically resolves the issue
 for existing sites.

 Props mukesh27, joemcgill, swissspidy, westonruter, flixos90.
 Fixes #59975.
 See #39537.
 }}}

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


More information about the wp-trac mailing list