Options, Meta APIs: Change the option can_compress_scripts to be autoloaded.

Ensure that the option `can_compress_scripts` is autoloaded on single sites, as this option is used in all requests. This change saves one database query per page request. 

Props RavanH, spacedmonkey, costdev, azaozz, flixos90.
Fixes #55270.

git-svn-id: https://develop.svn.wordpress.org/trunk@55854 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonny Harris
2023-05-24 17:33:26 +00:00
parent d51ee6ce09
commit 52f05444ba
3 changed files with 46 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ $wp_version = '6.3-alpha-55505-src';
*
* @global int $wp_db_version
*/
$wp_db_version = 53496;
$wp_db_version = 55853;
/**
* Holds the TinyMCE version.