Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editor: Fix render_duotone_support() to be compatible with enhanced p…
…agination. Some blocks do not have content. For duotone support, blocks without content still need to run through the `render_duotone_support()` to render their duotone CSS. This fix makes the duotone compatible with the enhanced pagination (introduced in 6.4.0) by making sure that the CSS is always on the page, even when the posts have no featured image. It also prevents the duotone from interfering with other blocks using `wp_unique_id()`. References: * [WordPress/gutenberg#55415 Gutenberg PR 55415] Follow-up to [56226]. Props cbravobernal, luisherranz, hellofromTonya, isabel_brison, jorbin. Fixes #59694. Built from https://develop.svn.wordpress.org/trunk@56991 git-svn-id: https://core.svn.wordpress.org/trunk@56502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
- Loading branch information