diff --git a/lib/compat/wordpress-6.0/block-template-utils.php b/lib/compat/wordpress-6.0/block-template-utils.php index 478adf7f3a52ca..0979a9e16c0990 100644 --- a/lib/compat/wordpress-6.0/block-template-utils.php +++ b/lib/compat/wordpress-6.0/block-template-utils.php @@ -37,7 +37,7 @@ function gutenberg_generate_block_templates_export_file() { $zip->addEmptyDir( $theme_name . '/parts' ); // Get path of the theme. - $theme_path = get_stylesheet_directory(); + $theme_path = wp_normalize_path( get_stylesheet_directory() ); // Create recursive directory iterator. $theme_files = new RecursiveIteratorIterator( diff --git a/packages/edit-site/src/components/header/more-menu/site-export.js b/packages/edit-site/src/components/header/more-menu/site-export.js index 426677868271df..1b8d75c228f396 100644 --- a/packages/edit-site/src/components/header/more-menu/site-export.js +++ b/packages/edit-site/src/components/header/more-menu/site-export.js @@ -44,7 +44,9 @@ export default function SiteExport() { role="menuitem" icon={ download } onClick={ handleExport } - info={ __( 'Download your templates and styles as a theme.' ) } + info={ __( + 'Download your theme with updated templates and styles.' + ) } > { _x( 'Export', 'site exporter menu item' ) }