fix(content-gate): change 'paragraph' to 'block' in settings text#4398
Open
wil-gerken wants to merge 1 commit intotrunkfrom
Open
fix(content-gate): change 'paragraph' to 'block' in settings text#4398wil-gerken wants to merge 1 commit intotrunkfrom
wil-gerken wants to merge 1 commit intotrunkfrom
Conversation
miguelpeixe
requested changes
Jan 15, 2026
Member
miguelpeixe
left a comment
There was a problem hiding this comment.
I'm not sure we should make this change. It counts only paragraphs when calculating the visible content for gated articles:
newspack-plugin/includes/content-gate/trait-content-gate-layout.php
Lines 163 to 167 in c8428a6
Changing the terminology can be misleading.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All Submissions:
Changes proposed in this Pull Request:
Updated terminology in the content gate settings panel from "paragraph" to "block" to better align with WordPress block terminology.
Since the Content Gate can be applied to any block type, not just paragraphs, this change makes the UI text more accurate and less confusing for users.
Closes # (leave blank - no issue to close).
Closes # .
How to test the changes in this Pull Request:
Other information: