Opened 2 years ago
Last modified 2 years ago
#57235 new defect (bug)
'excerpt_remove_blocks' removes list blocks
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Formatting | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description
As reported here: https://github.com/WordPress/gutenberg/issues/46167
When an excerpt of a block containing a listing is output, the listing is removed.
This seems to be caused by the fact that list items became blocks in WordPress 6.1.
Change History (1)
This ticket was mentioned in PR #3710 on WordPress/wordpress-develop by @wildworks.
2 years ago
#1
- Keywords has-patch has-unit-tests added
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://core.trac.wordpress.org/ticket/57235
Related gutenberg issue: https://github.com/WordPress/gutenberg/issues/46167
This PR fixes a problem with the unintentional removal of the list block in the output of excerpts. This appears to be due to the change of list items to blocks in WordPress 6.1.
At the same time, I added the list block markup in the unit test for
excerpt_remove_blocks
.