v0.1.2 — strip admin-bar toggle + restore install-is-the-opt-in default
v0.1.2 carries two related changes that together restore the plugin's original design framing for plain-WP enablement.
What changed
- Removed the admin-bar opt-in toggle. The "Try the new sidebar" / "Restore default sidebar" admin-bar node and its
admin_initGET handler are gone from the bootstrap. - Restored "install is the opt-in" as the default. The
wp_admin_sidebar_enabledfilter now returnstruefor any logged-in user. Activating the plugin enables the redesign site-wide; deactivating reverts.
Together these eliminate a stranded "default-off-no-UI" state. Hosts that need finer control (per-blog, per-user, percentage rollout) override wp_admin_sidebar_enabled from a host adapter.
Why
- A top-bar toggle entry was heavier than this feature warranted.
- The toggle UI was leaking onto host environments where the gate is bound externally (e.g., a managed-WordPress host using its own per-blog feature flag), creating click-targets that did nothing visible.
- The right opt-in surface is a design question we'd rather take deliberately than inherit. Tracked in #16 — Explore opt-in / opt-out mechanism for the redesigned sidebar.
What stays
- The
wp_admin_sidebar_enabledfilter itself. WP_ADMIN_SIDEBAR_FORCE_ENABLED/WP_ADMIN_SIDEBAR_FORCE_DISABLEDconstants (dev override + kill switch).- Data-preserving deactivation: saved layouts persist across deactivate / reactivate cycles.
Tests
All four PHP test suites pass: test-grep-no-wpcom-tokens.php, test-signals.php (13/13), test-normalizer.php (7/7), test-rest.php (25/25).
Requires
- WordPress 6.5+
- PHP 8.0+
License
GPL-2.0-or-later.