fix(user-home): align profile comments with reference theme

This commit is contained in:
kate522 committed 2026-10-04 19:11:27 +08:00
1 parent 00817766a6
commit 56bbb63afd
8 files changed
+261 -131

No files matched your search

+5 -3
View File
@@ -41,9 +41,11 @@ function aksrt_get_user_dashboard_view(int $user_id, array $args = []): array {
$post_count = (int) count_user_posts($user_id, 'post', true);
$comment_count = (int) get_comments([
'user_id' => $user_id,
'count' => true,
'status' => 'approve',
'user_id' => $user_id,
'count' => true,
'status' => 'approve',
'type' => 'comment',
'post_type' => ['post'],
]);
$favorite_post_ids = function_exists('aksrt_get_user_interaction_posts')