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.


git-svn-id: https://develop.svn.wordpress.org/trunk@57155 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Felix Arntz
2023-12-04 19:49:18 +00:00
parent 7ce1281349
commit 57a5164cbd
2 changed files with 34 additions and 1 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ $wp_version = '6.5-alpha-56966-src';
*
* @global int $wp_db_version
*/
$wp_db_version = 56657;
$wp_db_version = 57155;
/**
* Holds the TinyMCE version.