mirror of
https://github.com/WordPress/create-block-theme.git
synced 2025-10-04 16:21:40 +08:00
Fix problem with zip file creation on Windows (#606)
--------- Co-authored-by: Vicente Canales <1157901+vcanales@users.noreply.github.com> Co-authored-by: Jason Crist <jcrist@pbking.com>
This commit is contained in:
parent
058c6fe255
commit
35cbb46035
1 changed files with 2 additions and 2 deletions
|
@ -173,7 +173,7 @@ class Theme_Zip {
|
|||
|
||||
// Write the template content
|
||||
$zip->addFromStringToTheme(
|
||||
$template_folders['wp_template'] . DIRECTORY_SEPARATOR . $template->slug . '.html',
|
||||
path_join( $template_folders['wp_template'], $template->slug . '.html' ),
|
||||
$template->content
|
||||
);
|
||||
|
||||
|
@ -196,7 +196,7 @@ class Theme_Zip {
|
|||
|
||||
// Write the template content
|
||||
$zip->addFromStringToTheme(
|
||||
$template_folders['wp_template_part'] . DIRECTORY_SEPARATOR . $template->slug . '.html',
|
||||
path_join( $template_folders['wp_template_part'], $template->slug . '.html' ),
|
||||
$template->content
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue