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:
1 parent
5b16bc6e15
commit
35bb96e82f
997 files changed
+28216
-28188
No files matched your search
@@ -51,19 +51,19 @@
|
||||
/* legacy 在 max-width:767 把 user-center-sidebar/content 设 width:100%;
|
||||
* 本站沿用 ≤991.98 的 drawer 模式,与全站侧栏折叠点一致。 */
|
||||
@media (max-width: 991.98px) {
|
||||
body.aksrt-user-center .user-center-body,
|
||||
body.aksrt-user-center .aksrt-profile__layout,
|
||||
.aksrt-profile .user-center-body,
|
||||
.aksrt-profile .aksrt-profile__layout,
|
||||
body.jio-user-center .user-center-body,
|
||||
body.jio-user-center .jio-profile__layout,
|
||||
.jio-profile .user-center-body,
|
||||
.jio-profile .jio-profile__layout,
|
||||
.user-center .user-center-body {
|
||||
display: block;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
body.aksrt-user-center .user-center-content,
|
||||
body.aksrt-user-center .uc-content,
|
||||
.aksrt-profile .user-center-content,
|
||||
.aksrt-profile .uc-content,
|
||||
body.jio-user-center .user-center-content,
|
||||
body.jio-user-center .uc-content,
|
||||
.jio-profile .user-center-content,
|
||||
.jio-profile .uc-content,
|
||||
.user-center .user-center-content {
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
@@ -71,12 +71,12 @@
|
||||
}
|
||||
|
||||
/* 抽屉:离屏固定,FAB 打开;不参与文档流,避免堆在内容下方 */
|
||||
body.aksrt-user-center .user-center-sidebar,
|
||||
body.aksrt-user-center .uc-sidebar,
|
||||
body.aksrt-user-center .aksrt-profile__aside,
|
||||
.aksrt-profile .user-center-sidebar,
|
||||
.aksrt-profile .uc-sidebar,
|
||||
.aksrt-profile .aksrt-profile__aside,
|
||||
body.jio-user-center .user-center-sidebar,
|
||||
body.jio-user-center .uc-sidebar,
|
||||
body.jio-user-center .jio-profile__aside,
|
||||
.jio-profile .user-center-sidebar,
|
||||
.jio-profile .uc-sidebar,
|
||||
.jio-profile .jio-profile__aside,
|
||||
.user-center .user-center-sidebar {
|
||||
display: flex;
|
||||
float: none;
|
||||
@@ -100,23 +100,23 @@
|
||||
align-self: auto;
|
||||
}
|
||||
|
||||
body.aksrt-user-center .user-center-sidebar.is-open,
|
||||
body.aksrt-user-center .uc-sidebar.is-open,
|
||||
body.aksrt-user-center .aksrt-profile__aside.is-open,
|
||||
.aksrt-profile .user-center-sidebar.is-open,
|
||||
.aksrt-profile .uc-sidebar.is-open,
|
||||
.aksrt-profile .aksrt-profile__aside.is-open,
|
||||
body.jio-user-center .user-center-sidebar.is-open,
|
||||
body.jio-user-center .uc-sidebar.is-open,
|
||||
body.jio-user-center .jio-profile__aside.is-open,
|
||||
.jio-profile .user-center-sidebar.is-open,
|
||||
.jio-profile .uc-sidebar.is-open,
|
||||
.jio-profile .jio-profile__aside.is-open,
|
||||
.user-center .user-center-sidebar.is-open {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
/* 抽屉头部装饰 */
|
||||
body.aksrt-user-center .user-center-sidebar::before,
|
||||
body.aksrt-user-center .uc-sidebar::before,
|
||||
body.aksrt-user-center .aksrt-profile__aside::before,
|
||||
.aksrt-profile .user-center-sidebar::before,
|
||||
.aksrt-profile .uc-sidebar::before,
|
||||
.aksrt-profile .aksrt-profile__aside::before,
|
||||
body.jio-user-center .user-center-sidebar::before,
|
||||
body.jio-user-center .uc-sidebar::before,
|
||||
body.jio-user-center .jio-profile__aside::before,
|
||||
.jio-profile .user-center-sidebar::before,
|
||||
.jio-profile .uc-sidebar::before,
|
||||
.jio-profile .jio-profile__aside::before,
|
||||
.user-center .user-center-sidebar::before {
|
||||
content: '';
|
||||
display: block;
|
||||
@@ -125,8 +125,8 @@
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
body.aksrt-user-center .uc-sidebar__section,
|
||||
.aksrt-profile .uc-sidebar__section,
|
||||
body.jio-user-center .uc-sidebar__section,
|
||||
.jio-profile .uc-sidebar__section,
|
||||
.user-center .uc-sidebar__section {
|
||||
border-radius: 0;
|
||||
border-left: none;
|
||||
@@ -134,8 +134,8 @@
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
body.aksrt-user-center .uc-sidebar__section:first-of-type,
|
||||
.aksrt-profile .uc-sidebar__section:first-of-type,
|
||||
body.jio-user-center .uc-sidebar__section:first-of-type,
|
||||
.jio-profile .uc-sidebar__section:first-of-type,
|
||||
.user-center .uc-sidebar__section:first-of-type {
|
||||
margin-top: -20px;
|
||||
position: relative;
|
||||
@@ -143,8 +143,8 @@
|
||||
border-radius: 12px 12px 0 0;
|
||||
}
|
||||
|
||||
body.aksrt-user-center .uc-sidebar__drawer-trigger,
|
||||
.aksrt-profile .uc-sidebar__drawer-trigger,
|
||||
body.jio-user-center .uc-sidebar__drawer-trigger,
|
||||
.jio-profile .uc-sidebar__drawer-trigger,
|
||||
.user-center .uc-sidebar__drawer-trigger {
|
||||
display: flex;
|
||||
}
|
||||
@@ -212,7 +212,7 @@
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.user-center,
|
||||
.aksrt-profile.content-shell {
|
||||
.jio-profile.content-shell {
|
||||
padding: 0 12px 32px;
|
||||
}
|
||||
|
||||
@@ -237,39 +237,39 @@
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.uc-content .aksrt-invite-hero {
|
||||
.uc-content .jio-invite-hero {
|
||||
flex-direction: column;
|
||||
padding: 0 0 14px;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-code-card {
|
||||
.uc-content .jio-invite-code-card {
|
||||
width: 100%;
|
||||
padding: 12px 0 0;
|
||||
border-left: 0;
|
||||
border-top: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-link-row {
|
||||
.uc-content .jio-invite-link-row {
|
||||
flex-direction: column;
|
||||
padding: 14px 0;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-link-row input {
|
||||
.uc-content .jio-invite-link-row input {
|
||||
flex: none;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-copy {
|
||||
.uc-content .jio-invite-copy {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-stats {
|
||||
.uc-content .jio-invite-stats {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
padding: 12px 0;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-stat {
|
||||
.uc-content .jio-invite-stat {
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
padding: 0 8px;
|
||||
@@ -277,46 +277,46 @@
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-stat:last-child {
|
||||
.uc-content .jio-invite-stat:last-child {
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-stat strong {
|
||||
.uc-content .jio-invite-stat strong {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-stat span,
|
||||
.uc-content .aksrt-invite-stat strong {
|
||||
.uc-content .jio-invite-stat span,
|
||||
.uc-content .jio-invite-stat strong {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-stat small {
|
||||
.uc-content .jio-invite-stat small {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-records {
|
||||
.uc-content .jio-invite-records {
|
||||
padding: 14px 0 0;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-record {
|
||||
.uc-content .jio-invite-record {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-record__status {
|
||||
.uc-content .jio-invite-record__status {
|
||||
min-width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 520px) {
|
||||
.uc-content .aksrt-invite-record {
|
||||
.uc-content .jio-invite-record {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-record__main {
|
||||
.uc-content .jio-invite-record__main {
|
||||
flex: 1 1 calc(100% - 54px);
|
||||
}
|
||||
|
||||
.uc-content .aksrt-invite-record__status {
|
||||
.uc-content .jio-invite-record__status {
|
||||
flex: 1 1 100%;
|
||||
align-items: flex-start;
|
||||
padding-left: 54px;
|
||||
|
||||
Reference in new issue
Block a user