修复了一些小问题

This commit is contained in:
2026-08-30 13:49:54 +08:00
parent 1b4928d69b
commit ed914d2eec
12 changed files with 339 additions and 349 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ final class UserRenderer {
}
$html .= '</div>';
if (!empty($i['show_posts']) && function_exists('aksrt_render_user_card_posts')) {
$html .= '<div class="aksrt-user-card__posts">' . aksrt_render_user_card_posts(['user_id' => $user_id, 'count' => 4, 'post_style' => 'mini', 'show_empty' => false]) . '</div>';
$html .= '<div class="aksrt-user-card__posts">' . aksrt_render_user_card_posts(['user_id' => $user_id, 'limit' => 4, 'post_style' => 'mini']) . '</div>';
}
return $html . '</article>';
}