feat(payment): 补齐创作分成结算 + 收尾 auth 壳层欠账

- 新增 AKSRT_Creator_Revenue:监听 aksrt_order_paid,按 share_ratio 把商品作者分成写入既有 aksrt_revenue 台账(幂等、跳过自购),闭合此前"结算引擎"延后项;管理端 /payment/revenue 与 /shop 概览自动读取。
- page-verify-email 套用 sign 壳层与站点 logo,和 reset/bind 对齐。
- modal-auth 补 close_signup 门控,与全页登录页一致。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
kate522andClaude Fable 5 committed 2026-07-12 12:40:58 +08:00
1 parent b4df034a5d
commit 6880746ed3
5 files changed
+163 -3

No files matched your search

+9 -3
View File
@@ -49,13 +49,19 @@ $verify_mode = (string) ($verify_context['mode'] ?? 'invalid');
$verify_method= (string) ($verify_context['method'] ?? '');
$verify_vk = (string) ($verify_context['access_key'] ?? '');
remove_action('wp_footer', 'aksrt_render_footer_tabbar', 20);
remove_action('wp_footer', 'aksrt_render_float_buttons', 30);
add_filter('body_class', static function ($classes) {
$classes[] = 'page-template-user-sign';
return $classes;
});
get_header();
?>
<main id="main-content" class="site-main" tabindex="-1">
<main id="main-content" class="site-main sign-page" tabindex="-1">
<div class="auth-shell">
<div class="auth-card">
<div class="auth-card__logo" aria-hidden="true">AK</div>
<div class="auth-card sign-card sign-card--center">
<div class="auth-card__logo sign-logo" aria-hidden="true"><?php if (function_exists('aksrt_get_auth_sign_logo_html')) { echo aksrt_get_auth_sign_logo_html(); } else { echo 'AK'; } // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></div>
<h1 class="auth-card__title"><?php bloginfo('name'); ?></h1>
<?php if ($verify_mode === 'completed' || $verify_mode === 'verified') : ?>
+3
View File
@@ -26,6 +26,9 @@ $show_qrcode_tab = false;
if (class_exists('AKSRT_Settings')) {
$registration_open = AKSRT_Settings::registration_enabled();
if (method_exists('AKSRT_Settings', 'close_signup') && AKSRT_Settings::close_signup()) {
$registration_open = false;
}
$email_verification = AKSRT_Settings::registration_requires_email_verification();
$close_signin = AKSRT_Settings::close_signin();