v0.1.1 — rebrand pass: WordPress/ canonical home, generic identifiers
Cosmetic release — runtime is unchanged from v0.1.0. This release rebrands the public-plugin identifiers to neutral, host-agnostic names so the source no longer surfaces unexplained wpcom-prefixed names. The runtime behaviour, public extension API, and data shapes are byte-identical to v0.1.0.
What changed
Identifiers (CSS, JS globals, DOM data attributes, PHP @package)
- Body class
wpcom-sidebar-active→wp-admin-sidebar-active - CSS classes
wpcom-sidebar-*/wpcom-admin-sidebar-*→wp-admin-sidebar-* - JS global
window.wpcomAdminSidebarData→window.wpAdminSidebarData - Script handles
wpcom-admin-sidebar-*→wp-admin-sidebar-* - DOM data attributes
data-wpcom-{item-id,menu-slug}→data-wp-admin-sidebar-{item-id,menu-slug} - DOM
dataset.wpcomSidebarReady→dataset.wpAdminSidebarReady - PHP
@package WPCOM_Admin_Sidebar→WP_Admin_Sidebar
Kept (with explicit explanatory comments) — backward-compat / migration-cycle:
wpcom_admin_sidebar_layoutsuser-meta key (saved data carry-over from incubation as a WordPress.com mu-plugin; renaming would orphan saved layouts).- Legacy filter aliases
wpcom_admin_sidebar_*continue to fire one cycle viaapply_filters_deprecatedand emit deprecation notices when callbacks attach. Drops in v0.2.x. - Legacy admin-ajax action
wp_ajax_wpcom_admin_sidebar_layout_savecontinues to fire one cycle. Drops in v0.2.x. - Legacy function-name wrappers
wpcom_admin_sidebar_default_registry()andwpcom_admin_sidebar_unknown_default()continue to work (with_deprecated_functionnotices). Drops in v0.2.x.
URL rebrand
- Plugin URI:
github.com/Automattic/wp-admin-sidebar→github.com/WordPress/wp-admin-sidebar(the staging repo atAutomattic/wp-admin-sidebarwas archived 2026-05-05; this is the canonical home). - README, CONTRIBUTING, SECURITY URL refs: same.
- Dropped the
wp-admin-sidebar.php"staging notice" docblock paragraph (no longer staging).
Test suite (PHP unit-style, no toolchain dependency)
- All 4 suites pass clean: grep gate (no host-platform tokens leaked into
/src/), REST validate-delta 25/25, signals 13/13, normalizer 7/7.
Try it
The Playground demo (boots WP with The Events Calendar + Contact Form 7 + Classic Editor + Query Monitor + this plugin pre-activated) runs from the Playground link — entirely in-browser, no install needed.
Requires
- WordPress 6.5+
- PHP 8.0+
License
GPL-2.0-or-later.