refactor: rename the theme brand and every identifier from AKSRT to Jio

Full-project rename. `git grep -i aksrt` is now empty apart from the
DBMigrator 3.3.0 changelog note that documents the rename itself.

Code identifiers
- PHP namespace AKSRT\ -> Jio\ (composer PSR-4 + 378 declarations)
- global constants AKSRT_* -> JIO_* (VERSION/DIR/URI, PAY_TYPE_*, CAPTCHA_*)
- procedural functions, hooks, options, meta keys, table names,
  cookies, query vars, ajax actions and nonces: aksrt_ -> jio_
- text domain aksrt -> jio; Theme Name -> Jio
- JS globals: aksrtData/aksrtAdminData/... -> jioData/jioAdminData/...,
  window.AKSRTCaptcha & friends -> window.JioCaptcha, Aksrt* -> Jio*
- Vue components Aks*.vue -> Jio*.vue (15 files renamed + imports)
- CSS classes/data-attrs/custom properties: aksrt- -> jio-
- REST namespace aksrt/v1 -> jio/v1 (incl. payment gateway callbacks)

Storage layer
- DB tables {prefix}aksrt_* -> {prefix}jio_*; SCHEMA_VERSION 3.2.0 -> 3.3.0
  so dbDelta creates the new names on install
- widget id_base aksrt_widget_* -> jio_widget_*
- uninstall.php drop list rebuilt from the actual migrator tables
  (dropped 3 stale entries, added the 17 missing ones)

Removed
- hardcoded https://api.aksrt.com/version.json default update endpoint;
  get_endpoint() now reads the 「更新端点」 setting and do_check() no-ops
  when it is empty

Files renamed: inc/helpers/aksrt-*.php -> jio-*.php (54),
assets/admin/src/components/form/Aks*.vue -> Jio*.vue (15).
Build artifacts regenerated: assets/css/build, assets/js/runtime,
assets/admin/build.

Verified: audit-psr4-paths errors=0, audit-admin-contracts errors=0
(warnings=56, unchanged baseline), 813/813 widget-system tests,
44/44 phpunit, php -l clean across all PHP.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
kate522andClaude Opus 5 committed 2026-11-01 20:05:04 +08:00
1 parent 5b16bc6e15
commit 35bb96e82f
997 files changed
+28216 -28188

No files matched your search

+32 -32
View File
@@ -1,8 +1,8 @@
/**
* AKSRT Profile / User Center — v3.3 Editorial
* Jio Profile / User Center — v3.3 Editorial
*
* 从 page-profile.php 内嵌 <style> 提取,token 化。
* 通过 class-aksrt-scripts.php 在 is_page_template('templates/pages/page-profile.php') 时加载。
* 通过 class-jio-scripts.php 在 is_page_template('templates/pages/page-profile.php') 时加载。
*
* 覆盖:
* - 公开个人主页头
@@ -47,13 +47,13 @@
pointer-events: none;
}
.aksrt-cover-menu {
.jio-cover-menu {
position: absolute;
bottom: 12px;
right: 12px;
z-index: 2;
}
.aksrt-cover-menu__trigger {
.jio-cover-menu__trigger {
display: inline-flex;
align-items: center;
justify-content: center;
@@ -68,13 +68,13 @@
backdrop-filter: blur(4px);
transition: background .2s;
}
.aksrt-cover-menu__trigger:hover,
.aksrt-cover-menu__trigger:focus-visible {
.jio-cover-menu__trigger:hover,
.jio-cover-menu__trigger:focus-visible {
background: rgba(0, 0, 0, 0.45);
outline: 2px solid #fff;
outline-offset: 2px;
}
.aksrt-cover-menu__panel {
.jio-cover-menu__panel {
position: absolute;
right: 0;
bottom: calc(100% + 8px);
@@ -86,10 +86,10 @@
box-shadow: 0 12px 32px rgba(0,0,0,.22);
backdrop-filter: blur(12px);
}
.aksrt-cover-menu__panel[hidden] {
.jio-cover-menu__panel[hidden] {
display: none !important;
}
.aksrt-cover-menu__panel [role="menuitem"] {
.jio-cover-menu__panel [role="menuitem"] {
display: flex;
align-items: center;
gap: 8px;
@@ -105,8 +105,8 @@
text-decoration: none;
cursor: pointer;
}
.aksrt-cover-menu__panel [role="menuitem"]:hover,
.aksrt-cover-menu__panel [role="menuitem"]:focus-visible { background: rgba(255,255,255,.13); outline: none; }
.jio-cover-menu__panel [role="menuitem"]:hover,
.jio-cover-menu__panel [role="menuitem"]:focus-visible { background: rgba(255,255,255,.13); outline: none; }
.profile-form__fields { display: grid; gap: 14px; }
.profile-form__fields label { display: grid; gap: 6px; font-size: 13px; color: var(--color-ink, #24292f); }
@@ -130,8 +130,8 @@
border-radius: 6px;
}
#aksrt-bg-file-input[hidden],
#aksrt-avatar-file-input[hidden] {
#jio-bg-file-input[hidden],
#jio-avatar-file-input[hidden] {
display: none !important;
}
@@ -220,14 +220,14 @@
max-width: 520px;
}
.aksrt-identity-chips {
.jio-identity-chips {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 10px 0 0;
}
.aksrt-identity-chip {
.jio-identity-chip {
display: inline-flex;
align-items: center;
gap: 6px;
@@ -240,27 +240,27 @@
letter-spacing: 0.01em;
}
.aksrt-identity-chip--success {
.jio-identity-chip--success {
color: #0f766e;
background: rgba(15, 118, 110, 0.12);
}
.aksrt-identity-chip--info {
.jio-identity-chip--info {
color: #1d4ed8;
background: rgba(37, 99, 235, 0.12);
}
.aksrt-identity-chip--warning {
.jio-identity-chip--warning {
color: #b45309;
background: rgba(245, 158, 11, 0.14);
}
.aksrt-identity-chip--brand {
.jio-identity-chip--brand {
color: #7c3aed;
background: rgba(124, 58, 237, 0.12);
}
.aksrt-identity-chip--neutral {
.jio-identity-chip--neutral {
color: var(--color-ink-3);
background: var(--surface-2);
}
@@ -274,7 +274,7 @@
color: var(--color-ink-3);
}
.uc-header__meta .aksrt-ip-geo-badge {
.uc-header__meta .jio-ip-geo-badge {
margin: 2px 0;
}
@@ -290,7 +290,7 @@
}
/* 治理状态提示:与相邻元信息同排版;链接默认色会让箭头/图标偏离行内墨色 */
.uc-header__meta .aksrt-user-ban-notice {
.uc-header__meta .jio-user-ban-notice {
color: var(--color-ink-3);
}
@@ -321,7 +321,7 @@
justify-content: center;
}
.aksrt-identity-chips {
.jio-identity-chips {
justify-content: center;
}
@@ -399,7 +399,7 @@
scrollbar-width: none;
-ms-overflow-style: none;
}
.aksrt-profile .uc-mobile-tabs {
.jio-profile .uc-mobile-tabs {
flex-wrap: wrap;
overflow: hidden;
}
@@ -558,22 +558,22 @@
/* Level icon base sizing is centralized in assets/css/frontend/base.css. */
/* 用户中心 layout 间距;双栏 / sticky 见 user-center/shell.css(body.aksrt-user-center)。 */
.aksrt-profile__layout {
/* 用户中心 layout 间距;双栏 / sticky 见 user-center/shell.css(body.jio-user-center)。 */
.jio-profile__layout {
margin-top: 20px;
}
.aksrt-user-center__notice {
.jio-user-center__notice {
margin-bottom: 16px;
padding: 12px 14px;
border-radius: 8px;
color: #166534;
background: rgba(34, 197, 94, 0.12);
}
.aksrt-user-center__notice--error {
.jio-user-center__notice--error {
color: var(--color-error, #b91c1c);
background: rgba(239, 68, 68, 0.12);
}
.aksrt-profile .uc-mobile-tabs a {
.jio-profile .uc-mobile-tabs a {
display: inline-flex;
align-items: center;
padding: 8px 14px;
@@ -581,11 +581,11 @@
color: var(--color-ink-3);
text-decoration: none;
}
.aksrt-profile .uc-mobile-tabs a.is-active {
.jio-profile .uc-mobile-tabs a.is-active {
color: var(--color-primary);
background: var(--color-primary-soft);
}
.aksrt-profile .dashboard-panel > .widget-card:first-child,
.aksrt-profile .profile-form > .widget-card:first-child {
.jio-profile .dashboard-panel > .widget-card:first-child,
.jio-profile .profile-form > .widget-card:first-child {
margin-top: 0;
}