Skip to content

fix: Replace .gitkeep with index.php in languages/ directory#8

Merged
odanree merged 1 commit intomainfrom
fix/replace-gitkeep-with-index
Feb 23, 2026
Merged

fix: Replace .gitkeep with index.php in languages/ directory#8
odanree merged 1 commit intomainfrom
fix/replace-gitkeep-with-index

Conversation

@odanree
Copy link
Copy Markdown
Owner

@odanree odanree commented Feb 23, 2026

WordPress.org Automated Check - Hidden File Fix

WordPress.org automated check flagged .gitkeep as a hidden file (hidden files are not permitted in distributions).

Changes

  • Removed: languages/.gitkeep
  • Added: languages/index.php with proper PHP header
  • Follows WordPress convention used in all other subdirectories (16 index.php files total)

Why This Fix

  • .gitkeep is hidden (dot prefix), violates WordPress.org policy
  • index.php is a standard WordPress pattern to prevent directory listing
  • Maintains the languages/ folder structure for i18n infrastructure

Quality Verification

composer validate --strict
composer run format (0 violations)
composer run analyze (0 errors)

Submission Status

This resolves the final automated check failure. Plugin is now ready for re-submission to WordPress.org.

WordPress.org automated check flagged .gitkeep as a hidden file.
Replaced with index.php using standard WordPress convention.

This maintains the languages/ folder for i18n infrastructure
while satisfying WordPress.org's hidden file policy.

Quality checks:
✅ composer validate --strict
✅ composer run format (0 violations)
✅ composer run analyze (0 errors)
@odanree odanree merged commit abd89d7 into main Feb 23, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant