Skip to content

Performance: convert jetpack_blocks_disabled option to a module #39441

@kraftbj

Description

@kraftbj

Impacted plugin

Jetpack

What

Transform jetpack_blocks_disabled to a module

How

The jetpack_blocks_disabled option exists to provide a way for a site admin to enable/disable Jetpack blocks via the UI, which is basically the same concept as Jetpack modules.

jetpack_blocks_disabled is only set when the toggle has been used, which means it is not cached and a source of regular db calls. Transforming it into a proper module would allow it to piggyback with the modules option call/cache.

Follow-up of #39422

Metadata

Metadata

Assignees

Labels

EnhancementChanges to an existing feature — removing, adding, or changing parts of it[Focus] BlocksIssues related to the block editor, aka Gutenberg, and its extensions developed in Jetpack[Focus] Performance[Plugin] JetpackIssues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions