Blocks: Remove legacy Post Comment block conversions#69739
Blocks: Remove legacy Post Comment block conversions#69739SainathPoojary wants to merge 1 commit into
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Thanks for the PR! I'm not sure we should be able to remove these conversions. Regardless of WordPress version, the legacy comment blocks may still be present in the content, so I don't think we can remove this fallback. Steps to test this:
✅ trunkBlocks are displayed correctly: ❌ This PRBlocks are not displayed correctly: |
|
I agree with @t-hamano! Considering that some of that conversion in the function has been around "forever", I don't think we should treat the Comments blocks any differently. I'm going to close the PR. Thanks for contributing, @SainathPoojary! |
|
Do we want to delete this comment instead? It may be confusing. |
|
Hey @t-hamano, I agree. If we plan to keep this conversion, we should either remove the TODO or update it, as it might be confusing. |


What?
Related to PR: #36171
Removes legacy conversion logic for core/post-comment-* blocks, as it was meant to be removed after WordPress 6.0.
Why?
How?
Removed the condition for conversions:
Testing Instructions