Skip to content

Add database migration for disabling autoload for our options #13701

Open

Description

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+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Group: WordPressChanges related to WordPress or Gutenberg integrationP2Should do soonType: EnhancementNew feature or improvement of an existing featureType: PerformancePerformance related issues and enhancements.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions