[wp-trac] [WordPress Trac] #62329: Theme JSON Resolver: remove theme json merge in resolve_theme_file_uri

WordPress Trac noreply at wordpress.org
Fri Nov 1 06:03:22 UTC 2024


#62329: Theme JSON Resolver: remove theme json merge in resolve_theme_file_uri
-------------------------+---------------------------------------
 Reporter:  ramonopoly   |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  6.8
Component:  Themes       |    Version:
 Severity:  normal       |   Keywords:  has-patch gutenberg-merge
  Focuses:               |
-------------------------+---------------------------------------
 A ticket to trac the syncing of Gutenberg PR
 https://github.com/WordPress/gutenberg/pull/66662

 This affects `WP_Theme_JSON_Resolver::resolve_theme_file_uris()`.

 When setting resolved URIs in incoming theme.json, remove the unnecessary
 merge.

 The method only sets values for paths in the raw theme json object.

 There's no need for a full and possibly expensive merge.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62329>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list