Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Themes: Improve performance of
_add_block_template_part_area_info
a…
…nd `_add_block_template_info` functions. Improve performance of `_add_block_template_part_area_info` and `_add_block_template_info` function by passing the `with_supports` parameter to the `WP_Theme_JSON_Resolver::get_theme_data` method. This results in hitting an existing cache and in many less calls to get_option. Props spacedmonkey, flixos90, SergeyBiryukov, peterwilsoncc, desrosj. Fixes #57077. Built from https://develop.svn.wordpress.org/trunk@54998 git-svn-id: http://core.svn.wordpress.org/trunk@54531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
- Loading branch information