Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normalize the HTML to replace wp_unique_id in certain classnames with 1
This relates to a change in the Columns block that added layout support. See WordPress/gutenberg#37360 (comment). Blocks that opt into layout support are gifted generated classnames of wp_unique_id( 'wp-container-' ). One possible approach is to update test_do_block_output in Tests_Blocks_Render to swap the id for something we expect. It's how Gutenberg approaches it when testing generated classnames in elements support.
- Loading branch information