Repository navigation
Releases: 9ete/wp-block-enable-toggle
Releases · 9ete/wp-block-enable-toggle
Release list
v1.0.0 — Initial release
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)