Add plugin header and version number tests.
@peterwilsoncc is already working on this.
Since Sep 24, 2026.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Domain
- release, testing-qa
Research direction
Start by reviewing the repository's existing test structure and the comparable tests in wp-plugin-template/tests/tests. Inspect the plugin PHP and readme headers plus package.json and package.lock, then define tests for header placement, duplicate-header consistency, and matching stable tag and version values, including the stated WordPress-version exception.
Written by the indexing model from the issue text.
Description
Is your enhancement related to a problem? Please describe.
Add tests to ensure for the WordPress repo plugin headers to ensure:
- Headers are located in our preferred files (PHP vs readme) in accordance with how they are parsed on WP.org
- Any duplicated headers in the PHP and readme file are identical
- Stable tag and version numbers match in various locations (headers, package.json, package.lock, etc)
Similar tests are available in https://github.com/peterwilsoncc/wp-plugin-template/tree/main/tests/tests but for our purposes we'll need to make some changes according to our preferences, eg allowing minimum required WP version bumps without a release.
Designs
No response
Describe alternatives you've considered
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
- Dominant language
- PHP
- Stars
- 157
- Forks
- 24
- Avg merge
- 12m
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from 10up/simple-page-ordering
-
wpvc
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
10up/simple-page-ordering#314 ·
-
Add Abilities API functionalityPossibly taken @phpbits claimed this 18 days ago. Openhelp wanted
Difficulty 4/5 3-5 days Newbie friendliness 42/100
10up/simple-page-ordering#311 · 1 assignee ·
-
help wanted
Difficulty 4/5 3-5 days Newbie friendliness 48/100
10up/simple-page-ordering#303 ·
-
Add branch check to release workflow.Possibly taken @peterwilsoncc claimed this 192 days ago. Open
10up/simple-page-ordering#285 · 1 assignee ·
-
help wanted
Difficulty 5/5 Over a week Newbie friendliness 25/100
10up/simple-page-ordering#253 ·
All issues in 10up/simple-page-ordering
Similar issues
-
wpvc
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
10up/autoshare-for-twitter#438 ·
-
wpvc
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
10up/Ad-Refresh-Control#240 ·
-
wpvc
Difficulty 1/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Backend bug severity: low
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
RunningJoke/allipunkte#74 ·