Skip to content

fix: a plugin file missing from its wordpress.org release is a note - #28

Merged
oxyc merged 1 commit into
mainfrom
fix/wporg-missing-file-is-a-note
Dec 1, 2026
Merged

oxyc merged 1 commit into
mainfrom
fix/wporg-missing-file-is-a-note

Conversation

@oxyc

@oxyc oxyc commented Dec 1, 2026

Copy link
Copy Markdown
Member

The wordpress.org checksum fallback (used when there's no local install) flagged every File is missing line as urgent. A file the release has and the site doesn't is no tampering, and packages() already treats it that way for GitHub archives: a note. Now both paths agree.

Seen on one site's audit: three urgent flags for a plugin package without its composer.json/composer.lock, and for WP Super Cache's advanced-cache.php template.

go test ./..., go vet and gofmt pass; the existing checksum test now includes a missing file.

🤖 Generated with Claude Code

The wordpress.org checksum fallback flagged "File is missing" as urgent, while the GitHub-package comparison already treats a missing file as no tampering. A package that leaves out composer.json or a drop-in template (user-login-history, wp-super-cache) raised three urgent flags on one site.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@oxyc
oxyc merged commit 1e18065 into main Dec 1, 2026
2 checks passed
@oxyc
oxyc deleted the fix/wporg-missing-file-is-a-note branch December 1, 2026 21:54
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