[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 09:41:53 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):

 Please note that @soulseekah's [comment:14 comment] is not entirely true.
 On an actual Windows environment, it is already broken to begin with.
 Saving in the UI completely changes the page, because the saved `template`
 meta is stripped of all slashes, which eventually makes the page fall back
 to the `Default` template.

 This does not happen on Mac as of testing. Both were tested in a clean WP
 install with the `deep > folder > test.html` template added to the fresh
 `twentytwentyfour` theme.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58132#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list