Make WordPress Core

Opened 7 months ago

Last modified 5 months ago

#61267 new defect (bug)

Theme JSON Tests: Refactor base styles to a static variable

Reported by: scruffian's profile scruffian Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords: has-unit-tests
Focuses: Cc:

Description

This was done originally in https://github.com/WordPress/gutenberg/pull/58975.

The aim is to make the code easier to read and maintain.

There's a PR on GitHub here: https://github.com/WordPress/wordpress-develop/pull/6603

Attachments (1)

patch.dif (41.2 KB) - added by scruffian 7 months ago.
refactor

Download all attachments as: .zip

Change History (2)

@scruffian
7 months ago

refactor

#1 @desrosj
5 months ago

  • Component changed from General to Editor
  • Keywords has-unit-tests added
  • Milestone Awaiting Review deleted

According to the linked PR, this is no longer necessary. If I'm misunderstanding, please feel free to reopen, @scruffian.

Note: See TracTickets for help on using tickets.