From f183e03878d800f308f39b9be6532ba92fb828ff Mon Sep 17 00:00:00 2001
From: nanhaoluo <3075912108@qq.com>
Date: Fri, 23 Jan 2026 16:11:53 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=20AI=20=E5=86=85?=
=?UTF-8?q?=E5=AE=B9=E6=9F=A5=E8=AF=A2=E9=A1=B5=E9=9D=A2=E7=9A=84=E6=98=BE?=
=?UTF-8?q?=E7=A4=BA=E4=BF=A1=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 添加页面副标题,说明功能用途
- 优化错误提示,增加标题和更清晰的说明
- 为各个区块标题添加表情图标,提升视觉识别度
- 优化字段标签命名(文章标题标题、评论状态当前状态等)
- 为状态和操作添加表情图标(、、、等)
- 优化功能说明文案,添加使用提示
- 管理员记录区添加专属标识
- 评论内容和摘要内容支持换行显示(nl2br)
- 文章 ID 和评论 ID 添加 # 前缀
- 调整字段顺序,将作者信息提前显示
---
ai-summary-query.php | 83 ++++++++++++++++++++++++++------------------
1 file changed, 49 insertions(+), 34 deletions(-)
diff --git a/ai-summary-query.php b/ai-summary-query.php
index c023fbd..a5fb3d6 100644
--- a/ai-summary-query.php
+++ b/ai-summary-query.php
@@ -405,6 +405,7 @@ html.darkmode .ai-verify-subtitle { color: #aaa; }
@@ -428,22 +429,29 @@ html.darkmode .ai-verify-subtitle { color: #aaa; }
-
+ 📄
-
+ #
+
+
+
+
@@ -453,18 +461,14 @@ html.darkmode .ai-verify-subtitle { color: #aaa; }
-
-
-
-
-
+ ✨
-
+
-
+ 🤖
@@ -499,11 +503,11 @@ html.darkmode .ai-verify-subtitle { color: #aaa; }
-
+
💬
-
+ #
@@ -514,14 +518,14 @@ html.darkmode .ai-verify-subtitle { color: #aaa; }
-
+
__('已通过', 'argon'),
- 'hold' => __('待审核', 'argon'),
- 'trash' => __('回收站', 'argon'),
- 'spam' => __('垃圾评论', 'argon')
+ 'approved' => __('✓ 已通过', 'argon'),
+ 'hold' => __('⏳ 待审核', 'argon'),
+ 'trash' => __('🗑️ 回收站', 'argon'),
+ 'spam' => __('⚠️ 垃圾评论', 'argon')
];
echo isset($status_labels[$result['comment_status']]) ? esc_html($status_labels[$result['comment_status']]) : esc_html($result['comment_status']);
?>
@@ -535,34 +539,34 @@ html.darkmode .ai-verify-subtitle { color: #aaa; }
-
+
📝
-
+
-
+
🔍
-
+
-
+
-
+
-
+
__('已移入回收站', 'argon'),
- 'hold' => __('已标记为待审核', 'argon'),
- 'mark' => __('仅标记', 'argon')
+ 'trash' => __('🗑️ 已移入回收站', 'argon'),
+ 'hold' => __('⏳ 已标记为待审核', 'argon'),
+ 'mark' => __('🏷️ 仅标记不处理', 'argon')
];
echo isset($action_labels[$result['action']]) ? esc_html($action_labels[$result['action']]) : esc_html($result['action']);
?>
@@ -595,12 +599,20 @@ html.darkmode .ai-verify-subtitle { color: #aaa; }
+
+
@@ -698,12 +710,15 @@ if (current_user_can('manage_options')):
-
+