WordPress / WordPress/create-block-theme
Limit theme slug renaming to just slugs
Open
Nobody has claimed this yet.
bug
- Dominant language
- JavaScript
- Stars
- 417
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
When exporting the theme without applying translations or asset localization, the name of existing theme assets are changed.
- Clone the theme "Adventurer"
- Note that one of the assets used has the string "adventurer" in it. The reference to that asset in the patterns is changed to the NEW slug, though the file is not changed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the export using the “Adventurer” theme and an asset whose name contains “adventurer.” Trace the export path that replaces theme slugs when translations and asset localization are disabled. Done means pattern references retain the existing asset name while the theme slug is renamed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100