#62328 closed defect (bug) (fixed)
Theme JSON: replace top-level background style objects on merge
| Reported by: | ramonopoly | Owned by: | ramonopoly |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.8 |
| Component: | Themes | Version: | |
| Severity: | normal | Keywords: | has-patch, has-unit-tests, gutenberg-merge |
| Cc: | Focuses: |
Description
A PR to track the backporting of https://github.com/WordPress/wordpress-develop/pull/7697
The Gutenberg PR fixes an omission in the theme json merge logic where top-level background image objects are not replaced, rather they are merged, which was the state of affairs before https://github.com/WordPress/gutenberg/pull/64128
Blocks are already catered for via ::get_block_nodes().
Change History (5)
This ticket was mentioned in PR #7697 on WordPress/wordpress-develop by @ramonopoly.
22 months ago
#1
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
A PR that syncs the Gutenberg PR:
This PR fixes an omission in the theme json merge logic where top-level background image objects are not replaced, rather they are merged. Blocks are already catered for via ::get_block_nodes().
To test, run
npm run test:php -- --filter=Tests_Theme_wpThemeJson