Empty Block Templates output string on front-end stating "Empty Template". #20276
Labels
[Status] In Progress
Tracking issues with work in progress
[Type] Enhancement
A suggestion for improvement.
Describe the bug
If a block template has no content in post_content, instead of seeing a blank page (which would match the template), a string is output on the front-end stating "Empty Template", even for logged-out users.
To reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect 2 things here:
Desktop (please complete the following information):
Additional context
The code for this is happening here:
gutenberg/lib/template-loader.php
Line 99 in a8e49fc
master
.The text was updated successfully, but these errors were encountered: