Custom Post (or post type) block templates are orphaned when post slug changes. #43749
Labels
[Feature] Templates API
Related to API powering block template functionality in the Site Editor
[Type] Bug
An existing feature does not function as intended
Description
Block templates are connected to specific URL paths and are not updated if the original post's
post_name
is updated. We might want to consider linking to the short URL (canonical) as a reference instead.Step-by-step reproduction instructions
post_name
istest-post-a
.post_name
value to something different.Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: