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
@@ -13,30 +13,30 @@
|
||||
box-shadow: var(--card-shadow, 0 2px 8px rgba(0, 0, 0, .06));
|
||||
}
|
||||
|
||||
.aksrt-yiyan[data-aksrt-yiyan] {
|
||||
.jio-yiyan[data-jio-yiyan] {
|
||||
cursor: pointer;
|
||||
transition: box-shadow .2s ease, opacity .2s ease;
|
||||
}
|
||||
|
||||
.aksrt-yiyan[data-aksrt-yiyan]:hover,
|
||||
.aksrt-yiyan[data-aksrt-yiyan]:focus-visible {
|
||||
.jio-yiyan[data-jio-yiyan]:hover,
|
||||
.jio-yiyan[data-jio-yiyan]:focus-visible {
|
||||
box-shadow: inset 0 0 5px 0 var(--focus-shadow-color, rgba(253, 83, 161, .3));
|
||||
}
|
||||
|
||||
.aksrt-yiyan .yiyan {
|
||||
.jio-yiyan .yiyan {
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.aksrt-yiyan .yiyan .en {
|
||||
.jio-yiyan .yiyan .en {
|
||||
font-size: .9em;
|
||||
opacity: .8;
|
||||
}
|
||||
|
||||
.aksrt-yiyan.is-loading {
|
||||
.jio-yiyan.is-loading {
|
||||
opacity: .65;
|
||||
}
|
||||
|
||||
.aksrt-yiyan.is-error .cn {
|
||||
.jio-yiyan.is-error .cn {
|
||||
color: var(--muted-color, #777);
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
}
|
||||
|
||||
/* ---- Hidden Content Shortcodes ---- */
|
||||
.aksrt-hidden-content {
|
||||
.jio-hidden-content {
|
||||
position: relative;
|
||||
margin: 16px 0;
|
||||
padding: 16px;
|
||||
@@ -68,19 +68,19 @@
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.aksrt-hidden-content--unlocked {
|
||||
.jio-hidden-content--unlocked {
|
||||
background: var(--bg-secondary, #f8f9fa);
|
||||
border: 1px solid var(--border-color, #e5e7eb);
|
||||
}
|
||||
|
||||
.aksrt-hidden-content--locked {
|
||||
.jio-hidden-content--locked {
|
||||
background: linear-gradient(135deg, var(--bg-secondary, #f8f9fa) 0%, var(--bg-tertiary, #f1f3f5) 100%);
|
||||
border: 1px dashed var(--border-color, #d1d5db);
|
||||
text-align: center;
|
||||
padding: 24px 16px;
|
||||
}
|
||||
|
||||
.aksrt-hidden-content__message {
|
||||
.jio-hidden-content__message {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -90,20 +90,20 @@
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.aksrt-hidden-content__message i {
|
||||
.jio-hidden-content__message i {
|
||||
font-size: 18px;
|
||||
color: var(--text-muted, #9ca3af);
|
||||
}
|
||||
|
||||
.aksrt-hidden-content--vip .aksrt-hidden-content__message i {
|
||||
.jio-hidden-content--vip .jio-hidden-content__message i {
|
||||
color: var(--vip-color, #f59e0b);
|
||||
}
|
||||
|
||||
.aksrt-hidden-content--payshow .aksrt-hidden-content__message i {
|
||||
.jio-hidden-content--payshow .jio-hidden-content__message i {
|
||||
color: var(--primary-color, #3b82f6);
|
||||
}
|
||||
|
||||
.aksrt-hidden-content__form {
|
||||
.jio-hidden-content__form {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -111,7 +111,7 @@
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.aksrt-hidden-content__password-input {
|
||||
.jio-hidden-content__password-input {
|
||||
width: 200px;
|
||||
max-width: 60%;
|
||||
padding: 6px 12px;
|
||||
@@ -124,12 +124,12 @@
|
||||
transition: border-color .2s;
|
||||
}
|
||||
|
||||
.aksrt-hidden-content__password-input:focus {
|
||||
.jio-hidden-content__password-input:focus {
|
||||
border-color: var(--primary-color, #3b82f6);
|
||||
}
|
||||
|
||||
.aksrt-hidden-content__submit-btn,
|
||||
.aksrt-hidden-content__login-btn {
|
||||
.jio-hidden-content__submit-btn,
|
||||
.jio-hidden-content__login-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
@@ -141,10 +141,10 @@
|
||||
transition: opacity .2s;
|
||||
}
|
||||
|
||||
.aksrt-hidden-content__submit-btn:hover,
|
||||
.aksrt-hidden-content__login-btn:hover {
|
||||
.jio-hidden-content__submit-btn:hover,
|
||||
.jio-hidden-content__login-btn:hover {
|
||||
opacity: .85;
|
||||
}
|
||||
|
||||
.aksrt-paywall-preview { margin: 0 0 16px; padding: 14px 16px; border-left: 3px solid var(--color-primary, #f04494); background: var(--surface-2, #f8fafc); border-radius: 0 10px 10px 0; color: var(--color-ink-2, #374151); line-height: 1.7; }
|
||||
.aksrt-paywall-preview p:last-child { margin-bottom: 0; }
|
||||
.jio-paywall-preview { margin: 0 0 16px; padding: 14px 16px; border-left: 3px solid var(--color-primary, #f04494); background: var(--surface-2, #f8fafc); border-radius: 0 10px 10px 0; color: var(--color-ink-2, #374151); line-height: 1.7; }
|
||||
.jio-paywall-preview p:last-child { margin-bottom: 0; }
|
||||
Reference in new issue
Block a user