Skip to content

v0.1.1 — rebrand pass: WordPress/ canonical home, generic identifiers

Choose a tag to compare

@chriskmnds chriskmnds released this 05 May 11:35
· 44 commits to trunk since this release

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_layouts user-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 via apply_filters_deprecated and emit deprecation notices when callbacks attach. Drops in v0.2.x.
  • Legacy admin-ajax action wp_ajax_wpcom_admin_sidebar_layout_save continues to fire one cycle. Drops in v0.2.x.
  • Legacy function-name wrappers wpcom_admin_sidebar_default_registry() and wpcom_admin_sidebar_unknown_default() continue to work (with _deprecated_function notices). Drops in v0.2.x.

URL rebrand

  • Plugin URI: github.com/Automattic/wp-admin-sidebar → github.com/WordPress/wp-admin-sidebar (the staging repo at Automattic/wp-admin-sidebar was 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.