Issue-150: Disable Comments disables block notes #151
Merged
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.
Summary
Fixes #150. Disable Comments disables block notes: The block notes feature in WordPress 6.9 stores notes as comments. Accordingly, the Disable Comments feature in Alleyvate prevents notes from being saved or retrieved. The UI for notes is still visible, making it appear as though a user can write a note. When the user saves the note, an error message appears instead.
Notes for reviewers
We discussed this in #developers and came to the consensus on a solution:
We will enable the REST API comments endpoint, but only provide access to authenticated users, since Notes are always posted in the admin. This fixes the Notes issue, but prevents comment botspam.
Other Information
README.mdfile for any new/updated features.CHANGELOG.mdfile for any new/updated features.Changelog entries
Added
Changed
Deprecated
Removed
Fixed
Security