Templates Controller: Fix slug pattern to allow 404 templates#2077
Templates Controller: Fix slug pattern to allow 404 templates#2077ockham wants to merge 3 commits intoWordPress:trunkfrom ockham:fix/template-controller-slug-pattern
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! |
hellofromtonya
left a comment
There was a problem hiding this comment.
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.