Skip to content

Releases: 9ete/wp-block-enable-toggle

v1.0.0 — Initial release

Choose a tag to compare

@9ete 9ete released this 15 Jun 19:49

Block Enable Toggle v1.0.0

Initial public release.

Features

  • Enabled toggle in block inspector sidebar and toolbar for every block
  • Server-side enforcement: disabled blocks are stripped from page HTML, feeds, and REST content.rendered
  • Editor UX: disabled blocks are dimmed with dashed outline and "Disabled" label; red indicator in List View
  • Zero-database overhead: a single boolean attribute check per block per request

Compatibility

  • All static and dynamic core blocks
  • Container blocks (group, columns, cover, media-text, etc.)
  • Synced patterns (outer reference; inner blocks share across usages)
  • Full-site editing template parts and widget areas
  • Requires WordPress 6.6+ and PHP 7.4+

Quality

  • 42 PHPUnit tests (PHPCS/WPCS compliant)
  • 7 Cypress e2e tests (primary flow + editor smoke)
  • Passes wp plugin check (production files only)