Skip to content

FIX: Wrap theme translations in IIFE #33108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2025
Merged

Conversation

davidtaylorhq
Copy link
Member

@davidtaylorhq davidtaylorhq commented Jun 6, 2025

Without this wrapper, data is defined in the global scope and clashes when there are multiple themes with translations.

Followup to 033cccd

We can remove the wrapper once we land #33107

Without this wrapper, `data` is defined in the global scope and clashes when there are multiple themes with translations.

Followup to 033cccd
@davidtaylorhq davidtaylorhq merged commit 623cde9 into main Jun 6, 2025
16 checks passed
@davidtaylorhq davidtaylorhq deleted the theme-translation-fix branch June 6, 2025 15:40
martin-brennan pushed a commit that referenced this pull request Jun 10, 2025
Without this wrapper, `data` is defined in the global scope and clashes
when there are multiple themes with translations.

Followup to 033cccd

We can remove the wrapper once we land
#33107
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants