Patterns are proving to be exceptionally useful, but there is some confusing, bug-like behavior with the core/query
Query Loop block where patterns assigned to newly inserted blocks discard the pattern's query and fallback to the block's defaults. (as of March 2025).
-
Insert a Query Loop block, click Choose, select pattern.
Expectation: Use the specified pattern's query.
Actual: The pattern specified in the query is ignored, query reverts to defaults (postType
,perPage
,order
, etc.) -
Configure a Query Loop Block, then click Replace to choose a pattern
Expectation: Either use the query in the pattern, or offer an option to replace the query?
Actual: Existing query is preserved.
This situation is not clear. Existing behavior makes some sense, since we've already configured the query. However there is still a query in the pattern which is being ignored.