refactor: remove forum and topic feature chains

This commit is contained in:
kate522 committed 2026-08-17 14:52:19 +08:00
1 parent 698e3750f9
commit 6c6c462df8
69 files changed
+339 -2057

No files matched your search

+2 -2
View File
@@ -95,7 +95,7 @@ class Shortcodes {
}
/**
* [payshow]...[/payshow] — 付费后可见(文章 content-pay 或论坛主题解锁)
* [payshow]...[/payshow] — 文章付费后可见。
*/
public function render_payshow(array $atts = [], string $content = ''): string {
$atts = shortcode_atts(['message' => ''], $atts, 'payshow');
@@ -178,7 +178,7 @@ class Shortcodes {
}
/**
* Whether current viewer may see a paid hide block on this post/topic.
* Whether current viewer may see a paid hide block on this post.
*/
private function viewer_can_see_paid_block(int $pid): bool {
if ($pid <= 0) {