Skip to content

fix: plugin header minimums match the framework - #3

Merged
ogorzalka merged 1 commit into
mainfrom
fix/plugin-header-minimums
Oct 7, 2026
Merged

ogorzalka merged 1 commit into
mainfrom
fix/plugin-header-minimums

Conversation

@ogorzalka

Copy link
Copy Markdown
Member

#1 set the header to Requires PHP: 8.4 and Requires at least: 7.1 (a new project's stack). But make:plugin downloads the latest tag whatever the site runs, and WordPress refuses to activate a plugin whose header asks for more than the site has. So on a supported site — the framework requires PHP ^8.3, and this file keeps a code path for 13.4 sites on WordPress 6.x — the generated plugin could not be activated.

  • Requires PHP: 8.3 (the framework's minimum)
  • Requires at least: 6.0 (as before docs: refresh the README #1; the plugin uses no newer WordPress API)
  • Tested up to: 7.1 kept

php bin/tests/run.php: passes.

@ogorzalka
ogorzalka merged commit 43c3b47 into main Oct 7, 2026
6 checks passed
@ogorzalka
ogorzalka deleted the fix/plugin-header-minimums branch October 7, 2026 10: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