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
@@ -2,16 +2,16 @@
|
||||
/**
|
||||
* Exercise the native ban queue, detail templates, and post handlers with WordPress fixtures.
|
||||
*
|
||||
* @package AKSRT
|
||||
* @package Jio
|
||||
*/
|
||||
|
||||
namespace AKSRT\Core {
|
||||
namespace Jio\Core {
|
||||
final class DBMigrator {
|
||||
public static function table(string $name): string { return 'wp_aksrt_' . $name; }
|
||||
public static function table(string $name): string { return 'wp_jio_' . $name; }
|
||||
}
|
||||
}
|
||||
|
||||
namespace AKSRT\User {
|
||||
namespace Jio\User {
|
||||
final class Restriction {
|
||||
public const TYPE_WARN = 'warn';
|
||||
public const TYPE_MUTE = 'mute';
|
||||
@@ -25,27 +25,27 @@ namespace AKSRT\User {
|
||||
}
|
||||
|
||||
final class BanAppeal {
|
||||
public const META_STATUS = '_aksrt_ban_appeal_status';
|
||||
public const META_PAYLOAD = '_aksrt_ban_appeal_payload';
|
||||
public const META_HISTORY = '_aksrt_ban_appeal_history';
|
||||
public const META_STATUS = '_jio_ban_appeal_status';
|
||||
public const META_PAYLOAD = '_jio_ban_appeal_payload';
|
||||
public const META_HISTORY = '_jio_ban_appeal_history';
|
||||
public static function get_status(int $user_id): string {
|
||||
return (string) ($GLOBALS['aksrt_test_user_meta'][$user_id][self::META_STATUS] ?? '');
|
||||
return (string) ($GLOBALS['jio_test_user_meta'][$user_id][self::META_STATUS] ?? '');
|
||||
}
|
||||
public static function get_payload(int $user_id): array {
|
||||
$value = $GLOBALS['aksrt_test_user_meta'][$user_id][self::META_PAYLOAD] ?? [];
|
||||
$value = $GLOBALS['jio_test_user_meta'][$user_id][self::META_PAYLOAD] ?? [];
|
||||
return is_array($value) ? $value : [];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace AKSRT\Messages {
|
||||
namespace Jio\Messages {
|
||||
final class ReportCenter {
|
||||
private static ?self $instance = null;
|
||||
public static function get_instance(): self { return self::$instance ??= new self(); }
|
||||
public function update_status(int $id, string $status, string $note): bool {
|
||||
$GLOBALS['aksrt_test_reports'][$id]['status'] = $status;
|
||||
$GLOBALS['aksrt_test_reports'][$id]['updated_at'] = '2026-10-30 13:00:00';
|
||||
$GLOBALS['aksrt_test_report_actions'][] = [$id, $status, $note];
|
||||
$GLOBALS['jio_test_reports'][$id]['status'] = $status;
|
||||
$GLOBALS['jio_test_reports'][$id]['updated_at'] = '2026-10-30 13:00:00';
|
||||
$GLOBALS['jio_test_report_actions'][] = [$id, $status, $note];
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -54,15 +54,15 @@ namespace AKSRT\Messages {
|
||||
private static ?self $instance = null;
|
||||
public static function get_instance(): self { return self::$instance ??= new self(); }
|
||||
public function send(int $user_id, string $type, string $message, array $args = []): void {
|
||||
$GLOBALS['aksrt_test_messages'][] = [$user_id, $type, $message, $args];
|
||||
$GLOBALS['jio_test_messages'][] = [$user_id, $type, $message, $args];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace AKSRT\Admin\Native {
|
||||
namespace Jio\Admin\Native {
|
||||
final class AdminListPagination {
|
||||
public static function render(string $slug, int $total, int $page, int $per_page, array $filters = [], string $parent = ''): void {
|
||||
$GLOBALS['aksrt_test_pagination'][] = [$slug, $total, $page, $per_page, $filters, $parent];
|
||||
$GLOBALS['jio_test_pagination'][] = [$slug, $total, $page, $per_page, $filters, $parent];
|
||||
echo '<nav data-test-pagination="' . esc_attr((string) $total) . ':' . esc_attr((string) $page) . '"></nav>';
|
||||
}
|
||||
}
|
||||
@@ -70,8 +70,8 @@ namespace AKSRT\Admin\Native {
|
||||
|
||||
namespace {
|
||||
define('ABSPATH', dirname(__DIR__, 2) . DIRECTORY_SEPARATOR);
|
||||
define('AKSRT_DIR', dirname(__DIR__, 2) . DIRECTORY_SEPARATOR);
|
||||
define('AKSRT_URI', 'https://theme.example.test');
|
||||
define('JIO_DIR', dirname(__DIR__, 2) . DIRECTORY_SEPARATOR);
|
||||
define('JIO_URI', 'https://theme.example.test');
|
||||
define('ARRAY_A', 'ARRAY_A');
|
||||
|
||||
class WP_User {
|
||||
@@ -98,13 +98,13 @@ namespace {
|
||||
if (str_contains($query, 'notes_json')) {
|
||||
return array_map(static fn (int $id): array => [
|
||||
'id' => $id,
|
||||
'notes_json' => $GLOBALS['aksrt_test_reports'][$id]['notes_json'] ?? '[]',
|
||||
'notes_json' => $GLOBALS['jio_test_reports'][$id]['notes_json'] ?? '[]',
|
||||
], $this->args);
|
||||
}
|
||||
if (str_contains($query, 'aksrt_user_restriction')) {
|
||||
return $GLOBALS['aksrt_test_restrictions'];
|
||||
if (str_contains($query, 'jio_user_restriction')) {
|
||||
return $GLOBALS['jio_test_restrictions'];
|
||||
}
|
||||
$reports = array_values($GLOBALS['aksrt_test_reports']);
|
||||
$reports = array_values($GLOBALS['jio_test_reports']);
|
||||
$search = '';
|
||||
$send_user = 0;
|
||||
foreach ($this->args as $arg) {
|
||||
@@ -119,14 +119,14 @@ namespace {
|
||||
}
|
||||
public function get_row(string $query, $output = null) {
|
||||
$id = (int) ($this->args[0] ?? 0);
|
||||
return $GLOBALS['aksrt_test_reports'][$id] ?? null;
|
||||
return $GLOBALS['jio_test_reports'][$id] ?? null;
|
||||
}
|
||||
}
|
||||
|
||||
$GLOBALS['wpdb'] = new TestWpdb();
|
||||
$GLOBALS['aksrt_test_reports'] = [];
|
||||
$GLOBALS['aksrt_test_user_meta'] = [];
|
||||
$GLOBALS['aksrt_test_restrictions'] = [[
|
||||
$GLOBALS['jio_test_reports'] = [];
|
||||
$GLOBALS['jio_test_user_meta'] = [];
|
||||
$GLOBALS['jio_test_restrictions'] = [[
|
||||
'user_id' => 7,
|
||||
'type' => 'ban',
|
||||
'scope' => 'site',
|
||||
@@ -134,12 +134,12 @@ namespace {
|
||||
'created_at' => '2026-10-01 08:00:00',
|
||||
'expires_at' => null,
|
||||
]];
|
||||
$GLOBALS['aksrt_test_assets'] = ['styles' => [], 'scripts' => []];
|
||||
$GLOBALS['aksrt_test_pagination'] = [];
|
||||
$GLOBALS['aksrt_test_report_actions'] = [];
|
||||
$GLOBALS['aksrt_test_messages'] = [];
|
||||
$GLOBALS['aksrt_test_nonce_checks'] = [];
|
||||
$GLOBALS['aksrt_test_capability'] = true;
|
||||
$GLOBALS['jio_test_assets'] = ['styles' => [], 'scripts' => []];
|
||||
$GLOBALS['jio_test_pagination'] = [];
|
||||
$GLOBALS['jio_test_report_actions'] = [];
|
||||
$GLOBALS['jio_test_messages'] = [];
|
||||
$GLOBALS['jio_test_nonce_checks'] = [];
|
||||
$GLOBALS['jio_test_capability'] = true;
|
||||
|
||||
function __($text, $domain = null): string { return (string) $text; }
|
||||
function esc_html__($text, $domain = null): string { return esc_html((string) $text); }
|
||||
@@ -174,28 +174,28 @@ namespace {
|
||||
$prefix .= $parts['path'] ?? '';
|
||||
return $prefix . '?' . http_build_query($query);
|
||||
}
|
||||
function current_user_can(string $capability): bool { return $capability === 'manage_options' && $GLOBALS['aksrt_test_capability']; }
|
||||
function current_user_can(string $capability): bool { return $capability === 'manage_options' && $GLOBALS['jio_test_capability']; }
|
||||
function wp_die($message): void { throw new \RuntimeException((string) $message); }
|
||||
function wp_nonce_field(string $action): void { echo '<input type="hidden" name="_wpnonce" value="' . esc_attr($action . '-nonce') . '">'; }
|
||||
function check_admin_referer(string $action): void {
|
||||
$GLOBALS['aksrt_test_nonce_checks'][] = $action;
|
||||
$GLOBALS['jio_test_nonce_checks'][] = $action;
|
||||
if (($_POST['_wpnonce'] ?? '') !== $action . '-nonce') throw new \RuntimeException('nonce mismatch');
|
||||
}
|
||||
function wp_enqueue_style(string $handle, string $src, array $deps = [], string $version = ''): void {
|
||||
$GLOBALS['aksrt_test_assets']['styles'][] = [$handle, $src, $deps, $version];
|
||||
$GLOBALS['jio_test_assets']['styles'][] = [$handle, $src, $deps, $version];
|
||||
}
|
||||
function wp_enqueue_script(string $handle, string $src, array $deps = [], string $version = '', bool $footer = false): void {
|
||||
$GLOBALS['aksrt_test_assets']['scripts'][] = [$handle, $src, $deps, $version, $footer];
|
||||
$GLOBALS['jio_test_assets']['scripts'][] = [$handle, $src, $deps, $version, $footer];
|
||||
}
|
||||
function get_userdata(int $user_id) { return $user_id > 0 ? new WP_User($user_id, $user_id === 7 ? 'Report <script>alert(1)</script>' : 'User ' . $user_id) : false; }
|
||||
function get_current_user_id(): int { return 999; }
|
||||
function get_user_meta(int $user_id, string $key, bool $single = false) { return $GLOBALS['aksrt_test_user_meta'][$user_id][$key] ?? ''; }
|
||||
function update_user_meta(int $user_id, string $key, $value): bool { $GLOBALS['aksrt_test_user_meta'][$user_id][$key] = $value; return true; }
|
||||
function delete_user_meta(int $user_id, string $key): bool { unset($GLOBALS['aksrt_test_user_meta'][$user_id][$key]); return true; }
|
||||
function get_user_meta(int $user_id, string $key, bool $single = false) { return $GLOBALS['jio_test_user_meta'][$user_id][$key] ?? ''; }
|
||||
function update_user_meta(int $user_id, string $key, $value): bool { $GLOBALS['jio_test_user_meta'][$user_id][$key] = $value; return true; }
|
||||
function delete_user_meta(int $user_id, string $key): bool { unset($GLOBALS['jio_test_user_meta'][$user_id][$key]); return true; }
|
||||
function get_users(array $args = []): array {
|
||||
$ids = array_keys($GLOBALS['aksrt_test_user_meta']);
|
||||
$ids = array_keys($GLOBALS['jio_test_user_meta']);
|
||||
if (isset($args['include'])) $ids = array_values(array_intersect($ids, $args['include']));
|
||||
$ids = array_values(array_filter($ids, static fn (int $id): bool => \AKSRT\User\BanAppeal::get_status($id) !== ''));
|
||||
$ids = array_values(array_filter($ids, static fn (int $id): bool => \Jio\User\BanAppeal::get_status($id) !== ''));
|
||||
return $args['fields'] === 'ID' ? $ids : array_map('get_userdata', $ids);
|
||||
}
|
||||
function update_meta_cache(string $type, array $ids): void { unset($type, $ids); }
|
||||
@@ -213,7 +213,7 @@ namespace {
|
||||
function get_comment(int $id) { return false; }
|
||||
function get_comment_link(int $id): string { return 'https://content.example.test/comment/' . $id; }
|
||||
function get_author_posts_url(int $user_id): string { return 'https://content.example.test/author/' . $user_id; }
|
||||
function aksrt_get_user_home_url(int $user_id): string { return 'https://content.example.test/user/' . $user_id; }
|
||||
function jio_get_user_home_url(int $user_id): string { return 'https://content.example.test/user/' . $user_id; }
|
||||
function do_action(string $hook, ...$args): void { unset($hook, $args); }
|
||||
|
||||
function fixture_report(int $id, int $reporter, string $status, string $time, string $reason = ''): array {
|
||||
@@ -238,17 +238,17 @@ namespace {
|
||||
? 'Evidence <script>alert(1)</script> https://evidence.example.test/proof.jpg javascript:alert(2)'
|
||||
: 'report reason ' . $id;
|
||||
$time = $id === 1 ? '2026-10-30 12:00:00' : ($id === 2 ? '2026-10-29 11:00:00' : $time);
|
||||
$GLOBALS['aksrt_test_reports'][$id] = fixture_report($id, $id === 1 ? 7 : 20 + $id, $status, $time, $reason);
|
||||
$GLOBALS['jio_test_reports'][$id] = fixture_report($id, $id === 1 ? 7 : 20 + $id, $status, $time, $reason);
|
||||
}
|
||||
$GLOBALS['aksrt_test_reports'][1]['category'] = '版权投诉';
|
||||
$GLOBALS['aksrt_test_reports'][2]['category'] = '人身攻击';
|
||||
$GLOBALS['aksrt_test_reports'][2]['reason'] = '';
|
||||
$GLOBALS['aksrt_test_reports'][9001] = fixture_report(9001, 7, 'pending', '2026-09-01 09:00:00', 'needle action report');
|
||||
$GLOBALS['aksrt_test_reports'][9002] = fixture_report(9002, 7, 'pending', '2026-09-02 09:00:00', 'needle stale report');
|
||||
$GLOBALS['jio_test_reports'][1]['category'] = '版权投诉';
|
||||
$GLOBALS['jio_test_reports'][2]['category'] = '人身攻击';
|
||||
$GLOBALS['jio_test_reports'][2]['reason'] = '';
|
||||
$GLOBALS['jio_test_reports'][9001] = fixture_report(9001, 7, 'pending', '2026-09-01 09:00:00', 'needle action report');
|
||||
$GLOBALS['jio_test_reports'][9002] = fixture_report(9002, 7, 'pending', '2026-09-02 09:00:00', 'needle stale report');
|
||||
|
||||
function fixture_appeal(int $user_id, string $status, string $time, array $payload = []): void {
|
||||
$GLOBALS['aksrt_test_user_meta'][$user_id][\AKSRT\User\BanAppeal::META_STATUS] = $status;
|
||||
$GLOBALS['aksrt_test_user_meta'][$user_id][\AKSRT\User\BanAppeal::META_PAYLOAD] = array_merge([
|
||||
$GLOBALS['jio_test_user_meta'][$user_id][\Jio\User\BanAppeal::META_STATUS] = $status;
|
||||
$GLOBALS['jio_test_user_meta'][$user_id][\Jio\User\BanAppeal::META_PAYLOAD] = array_merge([
|
||||
'time' => $time,
|
||||
'reason_key' => 'ban reason',
|
||||
'reason' => 'appeal explanation',
|
||||
@@ -270,14 +270,14 @@ namespace {
|
||||
fixture_appeal(7001, 'pending', '2026-09-03 09:00:00', ['reason' => 'pending appeal action']);
|
||||
fixture_appeal(7002, 'pending', '2026-09-04 09:00:00', ['reason' => 'pending appeal approve']);
|
||||
|
||||
require_once AKSRT_DIR . 'src/Admin/Native/NativeUi.php';
|
||||
require_once AKSRT_DIR . 'src/Admin/Native/UsersMenusBanQuery.php';
|
||||
require_once AKSRT_DIR . 'src/Admin/Native/UsersMenusBanDialogs.php';
|
||||
require_once AKSRT_DIR . 'src/Admin/Native/UsersMenusBanActions.php';
|
||||
require_once AKSRT_DIR . 'src/Admin/Native/UsersMenusBan.php';
|
||||
require_once JIO_DIR . 'src/Admin/Native/NativeUi.php';
|
||||
require_once JIO_DIR . 'src/Admin/Native/UsersMenusBanQuery.php';
|
||||
require_once JIO_DIR . 'src/Admin/Native/UsersMenusBanDialogs.php';
|
||||
require_once JIO_DIR . 'src/Admin/Native/UsersMenusBanActions.php';
|
||||
require_once JIO_DIR . 'src/Admin/Native/UsersMenusBan.php';
|
||||
|
||||
final class BanFixtureMenu {
|
||||
use \AKSRT\Admin\Native\UsersMenusBan;
|
||||
use \Jio\Admin\Native\UsersMenusBan;
|
||||
public const CAPABILITY = 'manage_options';
|
||||
public function ensure_cap(): void {}
|
||||
public function flash(): void {}
|
||||
@@ -324,15 +324,15 @@ namespace {
|
||||
'type' => 'report', 'status' => '', 's' => 'needle', 'send_user' => '7',
|
||||
'orderby' => 'updated', 'order' => 'ASC',
|
||||
]);
|
||||
$html = render_ban_page(['page' => 'aksrt_user_ban', 'status' => '', 'orderby' => 'time', 'order' => 'DESC']);
|
||||
$html = render_ban_page(['page' => 'jio_user_ban', 'status' => '', 'orderby' => 'time', 'order' => 'DESC']);
|
||||
$filteredHtml = render_ban_page([
|
||||
'page' => 'aksrt_user_ban', 'type' => 'report', 'status' => 'pending', 's' => 'needle',
|
||||
'page' => 'jio_user_ban', 'type' => 'report', 'status' => 'pending', 's' => 'needle',
|
||||
'send_user' => '7', 'orderby' => 'updated', 'order' => 'ASC', 'paged' => '1',
|
||||
]);
|
||||
|
||||
$GLOBALS['aksrt_test_assets'] = ['styles' => [], 'scripts' => []];
|
||||
$GLOBALS['jio_test_assets'] = ['styles' => [], 'scripts' => []];
|
||||
$assetMenu = new BanFixtureMenu();
|
||||
$assetMenu->enqueue_ban_assets('users_page_aksrt_user_ban');
|
||||
$assetMenu->enqueue_ban_assets('users_page_jio_user_ban');
|
||||
$assetMenu->enqueue_ban_assets('users_page_other');
|
||||
|
||||
$menu = new BanFixtureMenu();
|
||||
@@ -343,9 +343,9 @@ namespace {
|
||||
'filter_type' => 'report', 'filter_status' => 'pending', 's' => 'needle', 'send_user' => '7',
|
||||
'orderby' => 'updated', 'order' => 'ASC', 'paged' => '2',
|
||||
];
|
||||
$blankReport = call_action($menu, 'handle_update_report', 'aksrt_users_update_report_9001', array_merge($reportBase, ['new_status' => 'dismissed', 'note' => ' ']));
|
||||
$staleReport = call_action($menu, 'handle_update_report', 'aksrt_users_update_report_9002', array_merge($reportBase, ['report_id' => '9002', 'record_version' => 'stale-version']));
|
||||
$validReport = call_action($menu, 'handle_update_report', 'aksrt_users_update_report_9001', $reportBase);
|
||||
$blankReport = call_action($menu, 'handle_update_report', 'jio_users_update_report_9001', array_merge($reportBase, ['new_status' => 'dismissed', 'note' => ' ']));
|
||||
$staleReport = call_action($menu, 'handle_update_report', 'jio_users_update_report_9002', array_merge($reportBase, ['report_id' => '9002', 'record_version' => 'stale-version']));
|
||||
$validReport = call_action($menu, 'handle_update_report', 'jio_users_update_report_9001', $reportBase);
|
||||
|
||||
$appealRow = $menu->query_record('appeal', 7001);
|
||||
$appealVersion = $menu->version($appealRow);
|
||||
@@ -354,15 +354,15 @@ namespace {
|
||||
'filter_type' => 'appeal', 'filter_status' => 'pending', 's' => 'needle', 'send_user' => '7001',
|
||||
'orderby' => 'updated', 'order' => 'ASC', 'paged' => '3',
|
||||
];
|
||||
$blankAppeal = call_action($menu, 'handle_process_appeal', 'aksrt_users_process_appeal_7001', array_merge($appealBase, ['note' => ' ']));
|
||||
$validAppeal = call_action($menu, 'handle_process_appeal', 'aksrt_users_process_appeal_7001', $appealBase);
|
||||
$blankAppeal = call_action($menu, 'handle_process_appeal', 'jio_users_process_appeal_7001', array_merge($appealBase, ['note' => ' ']));
|
||||
$validAppeal = call_action($menu, 'handle_process_appeal', 'jio_users_process_appeal_7001', $appealBase);
|
||||
|
||||
$approveRow = $menu->query_record('appeal', 7002);
|
||||
$approve = call_action($menu, 'handle_process_appeal', 'aksrt_users_process_appeal_7002', [
|
||||
$approve = call_action($menu, 'handle_process_appeal', 'jio_users_process_appeal_7002', [
|
||||
'user_id' => '7002', 'decision' => 'approve', 'note' => '', 'record_version' => $menu->version($approveRow),
|
||||
]);
|
||||
|
||||
$filtersHtml = render_ban_page(['page' => 'aksrt_user_ban', 'type' => 'report', 'status' => 'pending', 's' => 'needle', 'send_user' => '7', 'orderby' => 'updated', 'order' => 'ASC']);
|
||||
$filtersHtml = render_ban_page(['page' => 'jio_user_ban', 'type' => 'report', 'status' => 'pending', 's' => 'needle', 'send_user' => '7', 'orderby' => 'updated', 'order' => 'ASC']);
|
||||
|
||||
echo json_encode([
|
||||
'queue' => [
|
||||
@@ -372,15 +372,15 @@ namespace {
|
||||
'filters' => $filters,
|
||||
'html' => $html,
|
||||
'filtered_html' => $filteredHtml,
|
||||
'assets' => $GLOBALS['aksrt_test_assets'],
|
||||
'assets' => $GLOBALS['jio_test_assets'],
|
||||
'actions' => [
|
||||
'blank_report' => $blankReport, 'stale_report' => $staleReport, 'valid_report' => $validReport,
|
||||
'blank_appeal' => $blankAppeal, 'valid_appeal' => $validAppeal, 'approve_appeal' => $approve,
|
||||
'report_calls' => $GLOBALS['aksrt_test_report_actions'], 'messages' => $GLOBALS['aksrt_test_messages'],
|
||||
'appeal_status' => \AKSRT\User\BanAppeal::get_status(7001),
|
||||
'appeal_payload' => \AKSRT\User\BanAppeal::get_payload(7001),
|
||||
'approved_status' => \AKSRT\User\BanAppeal::get_status(7002),
|
||||
'restrictions_lifted' => \AKSRT\User\Restriction::$lifted,
|
||||
'report_calls' => $GLOBALS['jio_test_report_actions'], 'messages' => $GLOBALS['jio_test_messages'],
|
||||
'appeal_status' => \Jio\User\BanAppeal::get_status(7001),
|
||||
'appeal_payload' => \Jio\User\BanAppeal::get_payload(7001),
|
||||
'approved_status' => \Jio\User\BanAppeal::get_status(7002),
|
||||
'restrictions_lifted' => \Jio\User\Restriction::$lifted,
|
||||
],
|
||||
], JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_THROW_ON_ERROR);
|
||||
}
|
||||
Reference in new issue
Block a user