Issue Overview
After already playing around with Traduttore some time ago, I gave it a try again today and had a problem with empty language pack ZIPs. After some debugging I found out that the issue was the .tmp ending of the temporary ZIP file with the ZipArchive::CREATE.
Issue Overview After already playing around with Traduttore some time ago, I gave it a try again today and had a problem with empty language pack ZIPs. After some debugging I found out that the issue was the
.tmp
ending of the temporary ZIP file with theZipArchive::CREATE
.https://github.com/wearerequired/traduttore/blob/3.0.0/inc/ZipProvider.php#L150-L152
It worked when I either created a
$temp_zip_file
with.zip
ending or changed theCREATE
toOVERWRITE
.My first try with Traduttore was on the same server, and it worked back then, so it is a little bit strange.
To Reproduce Steps to reproduce the behavior: In my case: run the
wp traduttore language-pack build
WP CLI command and the generated ZIP is empty.Versions