Move content filtering off of pattern hooks #136
Labels
Accessibility
Issues related to keyboard navigation, screen readers, etc
[Component] Backend
i18n
Translations, RTL issues
[Status] On Hold
[Type] Bug
Something isn't working
The
render_block_core/pattern
hook is used for a few things in the parent theme, but this hook is no longer run as of WordPress/gutenberg#60349. In fact, patterns are not "rendered" at all, instead the blocks are swapped out at the template level, beforedo_blocks
runs.So, how should the following be handled?
Rendering embeds — Can be removed, this was fixed in core.
Render shortcodes — Can maybe be removed? Shortcodes appear to work in block content, but not as attributes (see WordPress/wporg-developer#513).
Wrap the arrows ↗ in
aria-hidden
spans — We need an alternate solution for this. (see #94)Flip inline styles for RTL support — We need an alternate solution for this (see WordPress/wporg-main-2022#126)
The text was updated successfully, but these errors were encountered: