Stop auto-running AKSRT_Settings_Migration, drop multi-option settings merge and Zibll favicon aliases, remove the migration tools entry from menus/schema, flatten admin sections so pages are not demoted into a compat bag, and retire the migration-status payload for leftover SPA routes after a full admin rebuild.
25 lines
671 B
PHP
25 lines
671 B
PHP
<?php
|
|
/**
|
|
* AKSRT_Admin_Schema_Tools schema builder.
|
|
*
|
|
* @package AKSRT
|
|
*/
|
|
|
|
defined('ABSPATH') || exit;
|
|
|
|
class AKSRT_Admin_Schema_Tools {
|
|
|
|
public static function build(): array {
|
|
return [
|
|
'domain' => 'tools',
|
|
'title' => '工具&诊断',
|
|
'sections' => [
|
|
'import-export' => AKSRT_Admin_Schema_Tools_Import_Export::build(),
|
|
'health' => AKSRT_Admin_Schema_Tools_Health::build(),
|
|
'backup' => AKSRT_Admin_Schema_Tools_Backup::build(),
|
|
'email-rollback' => AKSRT_Admin_Schema_Tools_Email_Rollback::build(),
|
|
],
|
|
];
|
|
}
|
|
}
|