Repository navigation
Create single template via site editor if not existing - #40830
Conversation
…lates in site-editor if not existing
|
👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @luminuu! In case you missed it, we'd love to have you join us in our Slack community, where we hold regularly weekly meetings open to anyone to coordinate with each other. If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information. |
scruffian
left a comment
There was a problem hiding this comment.
Thanks for taking care of this. LGTM
|
Creating the new template works well. But are there any other potential issues we should test for with the rename? Any compatibility issues for existing themes and plugins? |
I've searched the entire repository for |
What?
This PR changes the slug of the single template from
single-posttosingle, which is the default slug for the single (post) template.Why?
This PR fixes the issue #40814, where it was discovered that the template for
singleis not createable from the site editor when this template is not yet existing.How?
Previously the single template was addressed as
single-post, but this is not existing in the template hierarchy as default single template. Thepostsuffix has been removed from all occurences.Testing Instructions
Screenshots or screencast