Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid calling get_blocks_metadata in WP_Theme_JSON constructor #44658

Merged

Commits on Oct 3, 2022

  1. Get block names directly from the registry

    This skips the caching that happens in get_blocks_metadata when
    core/template-part needs to construct a WP_Theme_JSON to get the template
    parts which don't rely on the blocks metadata.
    Alex Lende committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    9adb5d7 View commit details
    Browse the repository at this point in the history