Skip to content

Update compatibility metadata and add WordPress.org readme sync - #98

Merged
jdevalk merged 4 commits into
developfrom
codex/readme-preview-check
Nov 17, 2026
Merged

jdevalk merged 4 commits into
developfrom
codex/readme-preview-check

Conversation

@jdevalk

@jdevalk jdevalk commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Adds the missing WordPress/PHP requirement headers, marks the readme tested up to WordPress 7.2 after RC1 checks, and adds a manual workflow for publishing readme-only updates to WordPress.org.

  • PHP headers now declare WordPress 6.7 and PHP 7.4, matching the existing readme. The setup text also explicitly includes activation.
  • Copies the readme-sync workflow and its helper script, adapted to the aaa-option-optimizer SVN repository. It updates only trunk/readme.txt and the existing stable tag's readme, refusing a stable-tag mismatch.
  • Keeps manual dispatch, the main branch guard, read-only GitHub permissions, pinned checkout, and disabled checkout credential persistence. Uses the existing SVN_USERNAME and SVN_PASSWORD secrets. To publish, the workflow and script must first reach main, then be dispatched against main.

Validation:

  • actionlint, bash -n, and whitespace checks passed. A live DRY_RUN=true against public WordPress.org SVN passed and showed only the intended readme changes in trunk and tags/1.7.1. No SVN commit was made.
  • 28 integration checks passed on a disposable WordPress 7.2-RC1 installation with PHP 8.3.36 and MariaDB: activation/table creation, both tracking modes, authenticated admin rendering, four option-list endpoints, anonymous access denial, single/bulk autoload changes and deletions with database verification, missing-option creation, migration, reset, deactivation/reactivation, and frontend response. The successful run had an empty WordPress debug log. PHP syntax passed.
  • WordPress 7.2 is a prerelease; RC1 was tested, not the final release. Browser JavaScript interactions, multisite, and a PHP-version matrix were not exercised. Minimum requirements remain unchanged.
  • The preview action updated the existing comment with 29 passing checks and one expected warning because the stable WordPress API still reports 7.1. Both missing-header warnings are resolved.

@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Test on Playground
Test this pull request on the Playground
or download the zip

@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Plugin readme preview

Open preview · Commit 6da521a

29 passed · 1 warning · 0 notes

Warnings

  • “Tested up to” is 7.2; the latest WordPress major release is 7.1. Test with 7.1 and update the header.
Passed checks (29)
  • 76 / 150 characters in the short description.
  • Plugin name header recognized.
  • License header recognized: GPL-3.0-or-later.
  • 5 tags accepted within the five-tag limit.
  • Description is within the parser’s word limit.
  • Installation is within the parser’s word limit.
  • Faq is within the parser’s word limit.
  • Changelog is within the parser’s word limit.
  • Stable tag is declared: 1.7.1.
  • The PHP Version header is declared: 1.7.1.
  • Stable tag matches the PHP Version header: 1.7.1.
  • The readme “Requires at least” value is valid: 6.7.
  • The PHP “Requires at least” header is a numeric version: 6.7.
  • “Requires at least” matches between the readme and PHP header: 6.7.
  • The readme “Requires PHP” value is valid: 7.4.
  • The PHP “Requires PHP” header is a numeric version: 7.4.
  • “Requires PHP” matches between the readme and PHP header: 7.4.
  • “Tested up to” 7.2 meets the minimum WordPress version 6.7.
  • Installation content is present.
  • FAQ content is present.
  • Changelog content is present.
  • Screenshot captions are present.
  • The first changelog release matches Stable tag: 1.7.1.
  • The first changelog release matches PHP Version: 1.7.1.
  • Banner image loaded.
  • Plugin icon loaded.
  • Screenshot 1 has a matching image and caption.
  • Screenshot 2 has a matching image and caption.
  • Plugin PHP header loaded.

Readme and PHP-header checks only; this does not test plugin runtime compatibility.

@jdevalk jdevalk changed the title Clarify plugin activation in readme setup steps Declare plugin requirements and clarify readme setup Nov 17, 2026
@jdevalk
jdevalk requested a review from ilicfilip November 17, 2026 17:29
@jdevalk jdevalk changed the title Declare plugin requirements and clarify readme setup Declare plugin requirements and mark WordPress 7.2 tested Nov 17, 2026
@jdevalk jdevalk changed the title Declare plugin requirements and mark WordPress 7.2 tested Update compatibility metadata and add WordPress.org readme sync Nov 17, 2026
@jdevalk
jdevalk merged commit ae7d5a6 into develop Nov 17, 2026
8 checks passed
@jdevalk
jdevalk deleted the codex/readme-preview-check branch November 17, 2026 18:30
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