This commit affects `WP_Theme_JSON_Resolver::resolve_theme_file_uris()`. When setting resolved URIs in an incoming theme json object, this commit removes the unnecessary call to `WP_Theme_JSON->merge()`. Why? `WP_Theme_JSON_Resolver::resolve_theme_file_uris()` only needs to set values for paths in the raw theme json object. It can then return a new theme object based on the updated JSON source. There's no need for a full and possibly expensive merge. Follow-up to [61588]. Props ramonopoly, aaronrobertshaw, andrewserong. Fixes #62329. Built from https://develop.svn.wordpress.org/trunk@59338 git-svn-id: http://core.svn.wordpress.org/trunk@58724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
35 KiB
35 KiB