This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Product Query block hijacking all Query blocks queries (#6952)
* Fix Product Query block hijacking all Query blocks queries The Product Query block was adding a filter to Gutenberg's core Query Loop block. When this filter was added once, it would from then on apply to all other Query Loop blocks (or variations thereof) on a page. This change makes sure that: 1. No filters are added in the first place if our custom `__woocommerceVariationProps` are not set. 2. The filter only gets run once.
- Loading branch information