create-block-theme icon indicating copy to clipboard operation
create-block-theme copied to clipboard

Some pattern header properties get eaten when writing to theme.

Open georgestephanis opened this issue 6 months ago • 2 comments

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.

georgestephanis avatar Sep 19 '25 18:09 georgestephanis

Example of pattern headers in twentytwentyfive:

https://github.com/WordPress/WordPress/blob/2217d041489a620af71d297d1241208591f3e093/wp-content/themes/twentytwentyfive/patterns/header.php#L1-L14

georgestephanis avatar Sep 19 '25 18:09 georgestephanis

@bph can i work on this issue assign it to me

Omcodes23 avatar Dec 07 '25 13:12 Omcodes23