-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add check for __MACOSX folder #403
Comments
This is already a check in https://github.com/WordPress/theme-check/blob/master/checks/class-file-check.php#L60. |
Thanks for pointing me to the file! My last upload went through with the__MACOSX folder in the zip. (version 1.0.0) I think it is because __MACOSX is rather a folder than a file. |
Did you check the SVN? https://themes.svn.wordpress.org/mebae/1.0.1/ There is not such file found here. |
Yes. I removed the __MACOSX from the version 1.0.0 after the initial upload. |
Related issue on Slack. The author also asked if it is possible to remove the hidden files/folders upon uploading the newer version. |
This is the problem indeed, |
PR #414 detects |
macOS automatically inserts the __MACOSX folder when creating a zip. The __MACOSX folder is a hidden directory and is not visible to the users as default. There is a way to delete the folder using the command line, but it can be easily missed as it is not visible.
A required or warning message can help remind the Mac users to delete the hidden folder before submission.
The text was updated successfully, but these errors were encountered: