From 76dfc3ffcaaf1b317436271400fb48893adc7ffe Mon Sep 17 00:00:00 2001 From: Ben Dwyer Date: Fri, 18 Mar 2022 10:04:57 +0000 Subject: [PATCH] fix linting --- lib/compat/wordpress-6.0/block-template-utils.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/compat/wordpress-6.0/block-template-utils.php b/lib/compat/wordpress-6.0/block-template-utils.php index 878684a60bd513..8d17c9c3b138f3 100644 --- a/lib/compat/wordpress-6.0/block-template-utils.php +++ b/lib/compat/wordpress-6.0/block-template-utils.php @@ -41,9 +41,9 @@ function gutenberg_generate_block_templates_export_file() { return new WP_Error( 'missing_zip_package', __( 'Zip Export not supported.', 'gutenberg' ) ); } - $obscura = wp_generate_password( 12, false, false ); + $obscura = wp_generate_password( 12, false, false ); $theme_name = wp_get_theme()->get( 'TextDomain' ); - $filename = get_temp_dir() . $theme_name . $obscura . '.zip'; + $filename = get_temp_dir() . $theme_name . $obscura . '.zip'; $zip = new ZipArchive(); if ( true !== $zip->open( $filename, ZipArchive::CREATE | ZipArchive::OVERWRITE ) ) {