WordPress / WordPress/create-block-theme

Some pattern header properties get eaten when writing to theme.

Open
#785 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Patterns
Dominant language
JavaScript
Stars
417
Forks
66
PR merge metrics
No merged PRs in 30d

Description

Every time I update theme files, some of the headers get overwritten.

Image

It'd be nice if it could parse and re-output the file header instead of blowing them away.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the code path that writes updated theme files and reproduce the issue with a file containing the affected header properties. Trace how the file header is read and emitted; done means updating the theme preserves those properties instead of overwriting them.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, wordpress
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.