Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Global Styles: Improve performance of WP_Theme_JSON::get_merged_data …
…method. In the WordPress 6.1 cycle, WP_Theme_JSON_Resolver::get_merged_data method has become a hot path that is called many times. By improving small things that are repeated multiple times, we get more performance wins. This commit reduces the number of calls of the low-level WP_Theme_JSON->merge method, with the corresponding performance improvements. Props oandregal, aristath, mukeshpanchal27. See #56467. git-svn-id: https://develop.svn.wordpress.org/trunk@54517 602fd350-edb4-49c9-b593-d223f7449a82
- Loading branch information