diff --git a/admin/create-theme/theme-zip.php b/admin/create-theme/theme-zip.php index d856af5..3f22fec 100644 --- a/admin/create-theme/theme-zip.php +++ b/admin/create-theme/theme-zip.php @@ -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 );