修复了一些问题

This commit is contained in:
kate522 committed 2026-08-25 18:42:23 +08:00
1 parent ff521c9ad6
commit 9b6088986a
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -270,7 +270,7 @@ function aksrt_render_message_center_detail(array $item, string $view): void {
<button type="button" class="message-detail__back" data-message-back data-view="<?php echo esc_attr($view); ?>"><i class="fa fas fa-arrow-left" aria-hidden="true"></i> <?php esc_html_e('返回消息列表', 'aksrt'); ?></button>
<span class="message-detail__icon"><i class="<?php echo esc_attr(aksrt_message_icon_class($type)); ?>" aria-hidden="true"></i></span>
<h2 class="message-detail__title"><?php echo esc_html((string) ($item['title'] ?? '')); ?></h2>
<p class="message-detail__meta"><?php echo esc_html(aksrt_notification_type_label($type)); ?> · <?php echo esc_html(aksrt_message_time($item)); ?></p>
<p class="message-detail__meta"><?php echo esc_html(aksrt_message_time($item)); ?></p>
</header>
<div class="message-detail__content"><?php echo wp_kses_post(wpautop(esc_html((string) ($item['desc'] ?? '')))); ?></div>
<footer class="message-detail__actions">