Repository navigation
Releases: blissguy/brm-level-switcher
Releases · blissguy/brm-level-switcher
Release list
BRM Level Switcher 1.1.2
BRM Level Switcher 1.1.2
- Flush the persistent object cache on each level switch so the new level is reflected on the very next front-end render instead of waiting out BricksMembers' object-cache TTL (~15 min). Previously the full-page cache-bust alone wasn't enough because BRM's per-post enrollment/drip/access snapshots stayed cached. The flush runs only on the gated, nonce-checked admin switch action. Admin/dev-only tool, so the all-users flush is acceptable.
BRM Level Switcher 1.1.1
BRM Level Switcher 1.1.1
- Added a one-time cache-busting marker to the post-switch redirect so full-page caches serve a fresh render for the newly selected level. The marker is stripped from the address bar on load. Note: BricksMembers recommends not full-page caching membership pages / excluding logged-in users — this is a safety net, not a substitute for correct cache configuration.
BRM Level Switcher 1.1.0
BRM Level Switcher 1.1.0
- Added a settings page under the BricksMembers menu (falls back to Settings if that menu is unavailable).
- New option: multi-select mode — hold several levels at once, toggling each on/off (off by default = single-level replace).
- New option: choose which levels appear in the switcher dropdown.
- New option: choose which user roles may use the switcher (administrators always allowed; on-page warning for non-admin roles).
- Added a Settings action link on the Plugins screen.
BRM Level Switcher 1.0.0
BRM Level Switcher 1.0.0
- Initial release.
- Admin bar dropdown to switch the current user's BricksMembers level.
- Replace-mode switching via the BricksMembers public API.
- Capability gating (admins only by default), nonce verification, and graceful fallback when BricksMembers is inactive.