[Post Comments] Unnecessary code comments are output to the front end #37989
Labels
[Block] Comments (legacy)
The legacy mode of the Comments block (formerly known as Post Comments)
[Type] Bug
An existing feature does not function as intended
[Type] Code Quality
Issues or PRs that relate to code quality
[Type] WP Core Ticket
Requires an upstream change from WordPress. Core Trac ticket should be linked.
Description
The Post Comments block outputs unnecessary HTML comments on the front end. Most of this seems pretty harmless, but the
<!-- You can start editing here. -->
snippet seems like a really confusing message to show here. 🙂Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
Gutenberg 12.4-RC-1 (via
trunk
)WordPress 5.8.3
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: