strip_dynamic_blocks is removed from the wrong priority, dynamic blocks are not rendered #11056
Labels
[Type] Bug
An existing feature does not function as intended
[Type] Regression
Related to a regression in the latest release
Describe the bug
The
strip_dynamic_blocks_add_filter
adds a filter to remove dynamic blocks from the excerpt, and schedules a next filter to removestrip_dynamic_blocks
again.However, it appears the priority of
do_blocks
seems to have changed, and thus also all the filters that should be run before do_blocks. The removal ofstrip_dynamic_blocks
however was not changed.Now,
lib/blocks.php
line 296 adds the filter at 6, line 316 still removes it at 8 - as a result no dynamic blocks are rendered anymore, at all.Appears in version 4.1.0
The text was updated successfully, but these errors were encountered: