Site Editor > Patterns: Empty template parts use the text "Empty pattern" in the placeholder #53821
Labels
[Feature] Site Editor
Related to the overarching Site Editor (formerly "full site editing")
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
This is a small inconsistency, but if you create a custom template part that is empty, and then go to
Admin > Editor > Patterns > Template parts, then the preview to the right of the menu is empty but has the wrong text. It says pattern instead of template part.
Step-by-step reproduction instructions
Create a custom empty template part through the interface
Go to Admin > Editor > Patterns > Template parts. Select the area used for the part, for example, General.
Confirm that the preview is empty, which is correct, but that the text says "Empty pattern"
Screenshots, screen recording, code snippet
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: