Cosmetic admin-sidebar change: set the studio menus apart from the core WordPress items and group them into three sections, using wp-menu-separator dividers (the same mechanism core uses before Appearance).
Result
────────── (separator, pos 29)
Studio Settings · Policies · Invites · Offerings (30–33)
────────── (separator, pos 34)
Students · Group Classes · Payments (35–37)
────────── (separator, pos 38)
Scheduler · My Availability · My Lessons (39–41)
Studio menus reordered to the requested order; the instructor menus (My Availability, My Lessons) follow Scheduler.
Each separator is only added when the current user can see a menu in the following section, to avoid orphaned dividers for instructors/students.
The $menu write carries a scoped phpcs:ignore (writing to $menu is the supported way to add an admin separator).
Verification
composer test (148 tests), composer cs, PHPStan level 6, and no-debug all pass.
Cosmetic admin-sidebar change: set the studio menus apart from the core WordPress items and group them into three sections, using `wp-menu-separator` dividers (the same mechanism core uses before Appearance).
## Result
```
────────── (separator, pos 29)
Studio Settings · Policies · Invites · Offerings (30–33)
────────── (separator, pos 34)
Students · Group Classes · Payments (35–37)
────────── (separator, pos 38)
Scheduler · My Availability · My Lessons (39–41)
```
- Studio menus reordered to the requested order; the instructor menus (My Availability, My Lessons) follow Scheduler.
- Each separator is only added when the current user can see a menu in the following section, to avoid orphaned dividers for instructors/students.
- The `$menu` write carries a scoped `phpcs:ignore` (writing to `$menu` is the supported way to add an admin separator).
## Verification
`composer test` (148 tests), `composer cs`, PHPStan level 6, and no-debug all pass.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Add sidebar separators (wp-menu-separator) that set the studio menus apart
from the core WordPress items and split them into three sections:
[sep] Studio Settings · Policies · Invites · Offerings
[sep] Students · Group Classes · Payments
[sep] Scheduler (then the instructor menus: My Availability, My Lessons)
Separators live at positions 29 / 34 / 38; each is only added when the user
can see a menu in the following section, to avoid orphaned dividers.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Cosmetic admin-sidebar change: set the studio menus apart from the core WordPress items and group them into three sections, using
wp-menu-separatordividers (the same mechanism core uses before Appearance).Result
$menuwrite carries a scopedphpcs:ignore(writing to$menuis the supported way to add an admin separator).Verification
composer test(148 tests),composer cs, PHPStan level 6, and no-debug all pass.🤖 Generated with Claude Code