-
Notifications
You must be signed in to change notification settings - Fork 2
Issue-48: Disable_Comments should disable its blocks
#123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
kevinfodness
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left two comments about making the JavaScript more defensive depending on where it loads in the admin. There's also a failing test (looks to be a PHP linter, but I'm not clear on where it's failing). Let me know when my requested changes are made and when the tests are passing and I'll give it another look and approve. Also let me know if you need help with getting the PHP linter to pass. Thanks for taking this one on!
Co-authored-by: Kevin Fodness <[email protected]>
kevinfodness
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One stylistic thing to adjust before merge, otherwise 🍣
Summary
As titled. Fixes #48
Notes for reviewers
None.
Other Information
README.mdfile for any new/updated features.CHANGELOG.mdfile for any new/updated features.Changelog entries
Added
Changed
Now the only Comments-related block is Comments Widget (on NYP)
Deprecated
Removed
Four comments-related blocks
unregisterBlockType('core/post-comments-form');unregisterBlockType('core/comments');unregisterBlockType('core/comments-query-loop');unregisterBlockType('core/latest-comments');Fixed
Security