mirror of
https://github.com/WenPai-org/wp-china-yes.git
synced 2025-08-03 11:11:30 +08:00
Added new service classes: Maintenance, Acceleration, Adblock, Avatar, Database, Fonts, Performance, and related templates and assets. Updated Service/Base.php to conditionally instantiate service classes only if they exist. Improved Service/Memory.php and Service/Monitor.php with better settings handling and update logic. Enhanced Service/Setting.php to simplify framework title usage. These changes modularize features and improve plugin extensibility and reliability.
20 lines
562 B
PHP
Executable file
20 lines
562 B
PHP
Executable file
// templates/maintenance-default.php
|
|
<!DOCTYPE html>
|
|
<html <?php language_attributes(); ?>>
|
|
<head>
|
|
<meta charset="<?php bloginfo('charset'); ?>">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title><?php echo esc_html($title); ?></title>
|
|
<style>
|
|
/* 添加你的样式 */
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="maintenance-container">
|
|
<h1><?php echo esc_html($heading); ?></h1>
|
|
<div class="message">
|
|
<?php echo wp_kses_post($message); ?>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|