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
@@ -1,8 +1,8 @@
|
||||
/**
|
||||
* AKSRT Site Notice — Popup notice styles
|
||||
* Jio Site Notice — Popup notice styles
|
||||
*/
|
||||
|
||||
.aksrt-site-notice {
|
||||
.jio-site-notice {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 99998;
|
||||
@@ -12,13 +12,13 @@
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.aksrt-site-notice__overlay {
|
||||
.jio-site-notice__overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.aksrt-site-notice__dialog {
|
||||
.jio-site-notice__dialog {
|
||||
position: relative;
|
||||
background: var(--surface-1, #fff);
|
||||
border-radius: var(--radius-lg, 12px);
|
||||
@@ -28,21 +28,21 @@
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.aksrt-site-notice__head {
|
||||
.jio-site-notice__head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 20px 24px 0;
|
||||
}
|
||||
|
||||
.aksrt-site-notice__title {
|
||||
.jio-site-notice__title {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
color: var(--color-ink, #333);
|
||||
}
|
||||
|
||||
.aksrt-site-notice__close {
|
||||
.jio-site-notice__close {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border: none;
|
||||
@@ -57,22 +57,22 @@
|
||||
transition: background 0.15s;
|
||||
}
|
||||
|
||||
.aksrt-site-notice__close:hover {
|
||||
.jio-site-notice__close:hover {
|
||||
background: var(--surface-3, #ddd);
|
||||
}
|
||||
|
||||
.aksrt-site-notice__body {
|
||||
.jio-site-notice__body {
|
||||
padding: 16px 24px;
|
||||
font-size: 14px;
|
||||
line-height: 1.7;
|
||||
color: var(--color-ink-2, #4e5358);
|
||||
}
|
||||
|
||||
.aksrt-site-notice__body a {
|
||||
.jio-site-notice__body a {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.aksrt-site-notice__foot {
|
||||
.jio-site-notice__foot {
|
||||
padding: 0 24px 20px;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
@@ -82,8 +82,8 @@
|
||||
}
|
||||
|
||||
/* Button base — shared by both <button> and <a> */
|
||||
.aksrt-site-notice__btn,
|
||||
.aksrt-site-notice__confirm {
|
||||
.jio-site-notice__btn,
|
||||
.jio-site-notice__confirm {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -100,32 +100,32 @@
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.aksrt-site-notice__btn:hover,
|
||||
.aksrt-site-notice__confirm:hover {
|
||||
.jio-site-notice__btn:hover,
|
||||
.jio-site-notice__confirm:hover {
|
||||
filter: brightness(1.08);
|
||||
}
|
||||
|
||||
/* Button color variants */
|
||||
.aksrt-site-notice__btn--primary { background: var(--color-primary); }
|
||||
.aksrt-site-notice__btn--success { background: #10b981; }
|
||||
.aksrt-site-notice__btn--warning { background: #f59e0b; color: #1a1a1a; }
|
||||
.aksrt-site-notice__btn--danger { background: #ef4444; }
|
||||
.aksrt-site-notice__btn--info { background: #3b82f6; }
|
||||
.aksrt-site-notice__btn--purple { background: #8b5cf6; }
|
||||
.aksrt-site-notice__btn--dark { background: #374151; }
|
||||
.jio-site-notice__btn--primary { background: var(--color-primary); }
|
||||
.jio-site-notice__btn--success { background: #10b981; }
|
||||
.jio-site-notice__btn--warning { background: #f59e0b; color: #1a1a1a; }
|
||||
.jio-site-notice__btn--danger { background: #ef4444; }
|
||||
.jio-site-notice__btn--info { background: #3b82f6; }
|
||||
.jio-site-notice__btn--purple { background: #8b5cf6; }
|
||||
.jio-site-notice__btn--dark { background: #374151; }
|
||||
|
||||
/* Modal size variants */
|
||||
.aksrt-site-notice__dialog.modal-mini { max-width: 320px; }
|
||||
.aksrt-site-notice__dialog.modal-sm { max-width: 420px; }
|
||||
.aksrt-site-notice__dialog.modal-lg { max-width: 720px; }
|
||||
.jio-site-notice__dialog.modal-mini { max-width: 320px; }
|
||||
.jio-site-notice__dialog.modal-sm { max-width: 420px; }
|
||||
.jio-site-notice__dialog.modal-lg { max-width: 720px; }
|
||||
/* Default dialog (no size class) */
|
||||
.aksrt-site-notice__dialog:not(.modal-mini):not(.modal-sm):not(.modal-lg) { max-width: 540px; }
|
||||
.jio-site-notice__dialog:not(.modal-mini):not(.modal-sm):not(.modal-lg) { max-width: 540px; }
|
||||
|
||||
/* Dark mode */
|
||||
html.dark .aksrt-site-notice__dialog {
|
||||
html.dark .jio-site-notice__dialog {
|
||||
background: var(--surface-1, #323335);
|
||||
}
|
||||
|
||||
html.dark .aksrt-site-notice__close {
|
||||
html.dark .jio-site-notice__close {
|
||||
background: var(--surface-3, #3a3b3e);
|
||||
}
|
||||
Reference in new issue
Block a user