Skip to content

Adds option to disable pattern revisions#48

Merged
ronalfy merged 1 commit into
release/2.5from
feat/revisions
May 7, 2026
Merged

Adds option to disable pattern revisions#48
ronalfy merged 1 commit into
release/2.5from
feat/revisions

Conversation

@ronalfy
Copy link
Copy Markdown
Contributor

@ronalfy ronalfy commented May 7, 2026

Introduces a new setting to allow users to disable revisions for the wp_block post type, which is used for patterns. This can help in managing database size and simplifying content history for patterns.

  • Site administrators gain a new toggle in the plugin settings to enable or disable pattern revisions.
  • For multisite installations, network administrators can enforce this setting across all sites, overriding any individual site configurations.
  • Includes the necessary backend logic to conditionally remove revisions support for the wp_block post type when the option is active.

@ronalfy ronalfy self-assigned this May 7, 2026
@ronalfy ronalfy added the enhancement New feature or request label May 7, 2026
@ronalfy ronalfy merged commit bf754f3 into release/2.5 May 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants