refactor: remove forum and topic feature chains

This commit is contained in:
2026-08-17 14:52:19 +08:00
parent 698e3750f9
commit 6c6c462df8
69 changed files with 339 additions and 2057 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ trait PayOrders {
if ($post_id <= 0) {
return;
}
// Only count normal posts (content pay), not necessarily forum topics.
// Only count normal posts for content purchases.
$post = get_post($post_id);
if (!($post instanceof \WP_Post) || $post->post_type !== 'post') {
return;