-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
[Block] Latest PostsAffects the Latest Posts BlockAffects the Latest Posts Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
When the latest posts block has the setting "Post content" enabled and set to full post, the block comment is printed on the front of the site.
In this example, the content of the post that is listed by the block has a single paragraph.
I copied this markup from the front of the site:
<div class="wp-block-latest-posts__post-full-content"><!-- wp:paragraph -->
<p>a sticky post!</p>
<!-- /wp:paragraph --></div>
(This is not a regression in 6.8)
Step-by-step reproduction instructions
Create a few posts.
Insert a latest posts block.
Save and view the HTML of the latest posts block on the front of the site.
Screenshots, screen recording, code snippet
No response
Environment info
No response
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
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
coder-rancho
Metadata
Metadata
Assignees
Labels
[Block] Latest PostsAffects the Latest Posts BlockAffects the Latest Posts Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended