Skip to content

v1.0.2

Choose a tag to compare

@submoro submoro released this 30 Jul 02:00
· 18 commits to main since this release

Two fixes from running 1.0.1 on a live site.

Group members are now indented

Members sit in from their group header, with a hairline rule running down the group that closes off after the last item, so the sidebar reads as a two-level tree instead of a flat list with headings in it.

Previously the indent variable was declared and never applied — so there was no hierarchy at all. The rule is drawn in currentColor at low opacity, which means it adapts to every admin colour scheme without naming a single hex value, and the current item gets a stronger one because that answers "where am I" faster than the row highlight alone. Dropped entirely when the sidebar is folded, and widened on mobile where there is room.

Group names that stayed clipped after updating are fixed

The 1.0.1 schema migration was correct, and its test passed — but it can only fire on a layout that still claims the old schema number. Saving from the Groups tab right after an update writes the new schema number together with the old name, because the form field was filled before the default changed. Such a layout never re-enters the migration chain, so the name stayed clipped indefinitely.

Names are now normalised on every read rather than once per schema bump. A name is only replaced when it exactly matches one this plugin itself previously shipped, for the group that shipped it — so a name you chose yourself is never touched, and a stale default belonging to a different group is not applied across.

Verification

Unit suite 323 tests / 3135 assertions. CI 11/11 green: Plugin Check across all five categories, the integration suite on PHP 7.4 / 8.1 / 8.3 against both WordPress 6.4 and current stable, a real PHP 7.4 syntax pass, coding standards, and an outbound-request scan.