Closed leorospo closed 4 years ago
Thanks for your feedback. I'll try to find a fix asap.
hey @imath Have you had time to have a look at the issue?
No unfortunately, but thanks a lot for reminding it to me: i hope i'll have a chance to look at it soon.
Hi @leorospo
The above PR (#40) should fix the issue. I'll give it more test asap. Don't hesitate to do so too ;)
I'll give it a shot as soon as I can! Thanks :)
Locked templates in custom post types will let an advise appear every time you try to add a new post.
How to replicate the issue
Example code
Register a test CPT
Register a custom post status
The problem
If you try to add a new post in the news CPT the editor will not immediatly display the edit interface, but will instead show an arror message
If you instead try to edit an already existing post it works like it is supposed to.
What have i tried to solve the problem
I really hope this can be fixed, because I greatly prefer this solution to the one offered by th edit flow plugin
I hope i've explained myself without too many errors. For any clarification don't hesitate to ask.