Consider renaming lib/compat PHP files and directories for evergreen overrides of core WordPress #38900
Labels
Developer Experience
Ideas about improving block and theme developer experience
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Code Quality
Issues or PRs that relate to code quality
What problem does this address?
Following on from a couple of comments on #38883 and related PRs.
One of the things that we've bumped into while making overrides to
theme.json
support in thelib/compat
directory, is the potential confusion between which changes belong in thewordpress-5.9
andwordpress-6.0
directories (for backwards and forwards compatibility), and which overrides we'll need to maintain in perpetuity due to Gutenberg being the main place for development of global styles related features.One way of looking at it is that the files in the
lib/compat
directory serve the following purposes:wordpress-develop
What is your proposed solution?
The overall goal for this issue is to see what changes we can make to improve the developer experience on making updates to
theme.json
/ global settings and styles, to hopefully make it easier for new contributors to contribute to or slot into development work in these areas.The text was updated successfully, but these errors were encountered: