You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered: