WordPress / WordPress/theme-check

Add check for __MACOSX folder

Open
#403 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
371
Forks
113
Avg merge
8m
Merged PRs (30d)
5

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by locating the existing checks for submitted theme archives, then determine how a __MACOSX directory is reported to users; done means archives containing that directory produce the agreed warning or required message.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.