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

Show template parts that were not loaded via the core/template-part block type #856

Open
johnbillion opened this issue Apr 4, 2024 · 0 comments

Comments

@johnbillion
Copy link
Owner

When the core/template-part block type is used but the requested template part is not found, Query Monitor doesn't show information about this in the Template panel like it does when get_template_part() is called.

It looks like the logic in both the collector and the outputter needs to be updated to handle this.

To reproduce in an FSE template

<!-- wp:template-part {"slug":"i-do-not-exist"} /-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant