Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Invalidate the page pattern cache when the site lang changes
The page pattern cache was keyed on the account language. However the account language isn't used when making the request to get the page pattern data. Switching to the site's language (i.e. the same locale slug used when fetching pattern data) means the cache will be invalidated correctly.
- Loading branch information