Open swissspidy opened 1 month ago
Noticed while reviewing #13700.
On my local site our options were all autoloaded for some reason. They shouldn't be; especially when we do the cache priming.
We could add a database migration that runs once to call wp_set_options_autoload() for all our options to disable autoloading.
wp_set_options_autoload()
Not sure if it's really needed though and whether it's worth it.
Also: the function is only available in WP 6.4+
Hi @swissspidy, should we get started with this since we have bumped up WP version requirement to 6.4?
Task Description
Noticed while reviewing #13700.
On my local site our options were all autoloaded for some reason. They shouldn't be; especially when we do the cache priming.
We could add a database migration that runs once to call
wp_set_options_autoload()
for all our options to disable autoloading.Not sure if it's really needed though and whether it's worth it.
Also: the function is only available in WP 6.4+