(fix):update user setting toast

This commit is contained in:
kate522 committed 2026-08-18 03:48:50 +08:00
1 parent e429b59077
commit 95553086dd
7 files changed
+156 -52

No files matched your search

-1
View File
@@ -37,7 +37,6 @@ get_header();
<?php foreach ($render_context['panels'] as $panel) : ?>
<?php get_template_part('templates/parts/user-center/panel', null, ['panel' => $panel]); ?>
<?php endforeach; ?>
<?php get_template_part('templates/parts/user-center/account-modals', null, ['context' => $render_context]); ?>
</div>
</div>
</div>
@@ -1,5 +0,0 @@
<?php
/** User center account modals. @package AKSRT */
defined('ABSPATH') || exit;
$context = is_array($args['context'] ?? null) ? $args['context'] : [];
echo $context['account_modals_html'] ?? ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped