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-post-extension {
|
||||
.jio-post-extension {
|
||||
margin: -6px -12px -12px;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__field {
|
||||
.jio-post-extension__field {
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
grid-template-columns: 34% minmax(0, 1fr);
|
||||
@@ -12,11 +12,11 @@
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__field:first-child {
|
||||
.jio-post-extension__field:first-child {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__title {
|
||||
.jio-post-extension__title {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding-top: 6px;
|
||||
@@ -27,23 +27,23 @@
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__control,
|
||||
.aksrt-post-extension__control input[type="text"],
|
||||
.aksrt-post-extension__control input[type="url"],
|
||||
.aksrt-post-extension__control input[type="number"] {
|
||||
.jio-post-extension__control,
|
||||
.jio-post-extension__control input[type="text"],
|
||||
.jio-post-extension__control input[type="url"],
|
||||
.jio-post-extension__control input[type="number"] {
|
||||
box-sizing: border-box;
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__control input[type="text"],
|
||||
.aksrt-post-extension__control input[type="url"],
|
||||
.aksrt-post-extension__control input[type="number"] {
|
||||
.jio-post-extension__control input[type="text"],
|
||||
.jio-post-extension__control input[type="url"],
|
||||
.jio-post-extension__control input[type="number"] {
|
||||
min-height: 30px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__control .description {
|
||||
.jio-post-extension__control .description {
|
||||
display: block;
|
||||
margin: 5px 0 0;
|
||||
color: #777;
|
||||
@@ -51,40 +51,40 @@
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__danger {
|
||||
.jio-post-extension__danger {
|
||||
color: #ff4646;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__upload {
|
||||
.jio-post-extension__upload {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__upload .button-link-delete {
|
||||
.jio-post-extension__upload .button-link-delete {
|
||||
grid-column: 1 / -1;
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__buttons {
|
||||
.jio-post-extension__buttons {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-top: 7px;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__gallery {
|
||||
.jio-post-extension__gallery {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-start;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__gallery:empty {
|
||||
.jio-post-extension__gallery:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__gallery img {
|
||||
.jio-post-extension__gallery img {
|
||||
display: block;
|
||||
width: auto;
|
||||
height: auto;
|
||||
@@ -96,23 +96,23 @@
|
||||
background: #f6f7f7;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__radios {
|
||||
.jio-post-extension__radios {
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__radios label,
|
||||
.aksrt-custom-filter-field label {
|
||||
.jio-post-extension__radios label,
|
||||
.jio-custom-filter-field label {
|
||||
display: block;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__field--check {
|
||||
.jio-post-extension__field--check {
|
||||
display: block;
|
||||
padding-left: calc(34% + 22px);
|
||||
}
|
||||
|
||||
.aksrt-post-extension__episode {
|
||||
.jio-post-extension__episode {
|
||||
position: relative;
|
||||
margin: 8px 0;
|
||||
padding: 8px;
|
||||
@@ -121,24 +121,24 @@
|
||||
background: rgba(255, 255, 255, 0.45);
|
||||
}
|
||||
|
||||
.aksrt-post-extension__episode > input {
|
||||
.jio-post-extension__episode > input {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__episode > .button-link-delete {
|
||||
.jio-post-extension__episode > .button-link-delete {
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.aksrt-custom-filter-field {
|
||||
.jio-custom-filter-field {
|
||||
padding: 9px 0;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.aksrt-custom-filter-field:last-child {
|
||||
.jio-custom-filter-field:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.aksrt-custom-filter-field strong {
|
||||
.jio-custom-filter-field strong {
|
||||
display: block;
|
||||
margin-bottom: 7px;
|
||||
color: #0991f5;
|
||||
@@ -149,16 +149,16 @@ body.block-editor-page #post_main .inside {
|
||||
}
|
||||
|
||||
@media (max-width: 782px) {
|
||||
.aksrt-post-extension__field {
|
||||
.jio-post-extension__field {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__title {
|
||||
.jio-post-extension__title {
|
||||
padding-top: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__field--check {
|
||||
.jio-post-extension__field--check {
|
||||
padding-left: 12px;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user