feat(credits): free points tasks matrix, day cap, and tasks tab

Add AKSRT_Points_Free for catalog/day-max/daily detail, wire the full
earn matrix (login, post, like, favorite, follow, comment, forum),
expose 积分任务 + 每日详情 tabs, and expand admin free-task settings.
This commit is contained in:
kate522 committed 2026-07-16 16:29:15 +08:00
1 parent 4da003663d
commit 15a883eb54
13 files changed
+728 -232

No files matched your search

@@ -526,6 +526,9 @@ class AKSRT_Comment_Actions {
if ($target !== $current) {
aksrt_set_comment_like_state($comment_id, $target);
$count = aksrt_update_comment_counter($comment_id, 'aksrt_comment_likes', $target ? 1 : -1);
if (is_user_logged_in()) {
do_action('aksrt_comment_liked', $comment_id, get_current_user_id(), (bool) $target);
}
} else {
$count = aksrt_get_comment_likes($comment_id);
}