-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
It's possible to create template parts with duplicate names #42473
Labels
[Block] Template Part
Affects the Template Parts Block
Needs Dev
Ready for, and needs developer efforts
Comments
When creating manually, there should probably be some validation on the name input which prohibits the creation of template parts with duplicate names. In the automatic flows, we might consider appending cc @WordPress/gutenberg-design |
10 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
[Block] Template Part
Affects the Template Parts Block
Needs Dev
Ready for, and needs developer efforts
Description
When creating a template part, either manually or via one of the automatic flows like inserting a header pattern, it's possible for duplicate names to be used.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
The text was updated successfully, but these errors were encountered: