Skip to content

Conversation

@xecdev
Copy link
Collaborator

@xecdev xecdev commented Sep 8, 2025

This PR fixes paywalling comments by blocking comments server-side until the content is unlocked by the user. Paywalling comments is an optional feature. This is a better approach than the one we have now as it is theme-independent and supports the no-reload content unlocking feature.

Test plan:

  • Install the updated plugin (or try it on the test site)
  • Clear cache
  • Open a paywalled post
  • When content is locked users can't comment until they pay to unlock the content

@coderabbitai
Copy link

coderabbitai bot commented Sep 8, 2025

Caution

Review failed

An error occurred during the review process. Please try again later.

✨ Finishing Touches
🧪 Generate unit tests

❌ Error creating Unit Test PR.

  • Create PR with unit tests
  • Commit unit tests in branch fix/hide-comments-until-unlocked
  • Post copyable unit tests in a comment

Comment @coderabbitai help to get the list of available commands and usage tips.

@xecdev xecdev requested a review from Klakurka September 8, 2025 18:21
@xecdev xecdev self-assigned this Sep 8, 2025
@xecdev xecdev added the enhancement (UI/UX/feature) New feature or request label Sep 8, 2025
@PayButton PayButton deleted a comment from coderabbitai bot Sep 8, 2025
@xecdev xecdev merged commit ca42e50 into master Sep 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement (UI/UX/feature) New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants