-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Templates Controller: Fix slug pattern to allow 404 templates #2077
Templates Controller: Fix slug pattern to allow 404 templates #2077
Conversation
cc/ @hellofromtonya @noisysocks @youknowriad -- I think this should go into 5.9 :) |
Thanks for the PR! This looks good to me. It would also be great to include a unit test for this, some other tests in the |
Sure, happy to add a test! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the integration test @ockham! LGTM 👍 Ready for commit.
Thanks a lot for reviewing @SergeyBiryukov @rachelbaker @hellofromtonya! Since I don't have Core commit privileges myself, can I ask one of you kind souls to commit this? 😄 |
Committed in https://core.trac.wordpress.org/changeset/52436 |
Backport of WordPress/gutenberg#37579. Props @PatelUtkarsh.
Quoting WordPress/gutenberg#37579:
Trac ticket: https://core.trac.wordpress.org/ticket/54680
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.