WordPress / WordPress/create-block-theme

De-activated font faces are not removed when saving a theme

Open
#656 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

What

If specific font faces are deactivated and the changes are saved in the editor, and after that the theme is saved using CBT, the resulting theme still have the de-activated font faces.

Screenscast

Screencast from 30-05-24 12:52:39.webm

Expected

The deactivated font faces should be removed from the saved theme.

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

Reproduce the issue by deactivating specific font faces in the editor, saving the changes, and then saving the theme with CBT. Trace the theme-saving entry point; done means the resulting saved theme no longer contains the deactivated font faces. The payload names no source file or test to start from.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.