[wp-trac] [WordPress Trac] #58132: Slashes used in block templates slug is a problem on Windows
WordPress Trac
noreply at wordpress.org
Tue Feb 13 08:49:15 UTC 2024
#58132: Slashes used in block templates slug is a problem on Windows
-------------------------------------------------+-------------------------
Reporter: gaft | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.5
Component: Editor | Version: 5.9
Severity: normal | Resolution:
Keywords: reporter-feedback has-patch has- | Focuses:
unit-tests 2nd-opinion has-testing-info |
needs-testing |
-------------------------------------------------+-------------------------
Comment (by gaft):
Sorry guys. I stopped forcing my way here as we all know that subdirectory
is not fully supported at the moment.
While my provided patches worked, another issue arises when the users try
to edit them in FSE.
Because the identifier being used in `wp_template_part` is still the
`post_name` column which is passed to `sanitize_title` on save, this
results to a creation of a completely new template. Thus, users will have
to manually update the post/page to point to it in order to see the wanted
changes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58132#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list