prepare wp 7.1 release - #900
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Updates the plugin’s declared and enforced minimum supported WordPress/PHP versions, aligning metadata, tooling, and CI.
Changes:
- Bumped minimum WordPress requirement to 7.0 and PHP requirement to 7.4 across plugin headers and docs
- Updated Composer and PHPCS configuration to target PHP 7.4+
- Adjusted GitHub Actions test matrix to drop PHP 7.2/7.3 and add WordPress 7.0
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| two-factor.php | Updates plugin header minimum WordPress and PHP requirements |
| readme.txt | Updates plugin readme requirements/tested versions and adds PHP requirement |
| phpcs.xml.dist | Updates PHPCompatibilityWP target version range to 7.4+ |
| composer.json | Updates Composer PHP platform and runtime constraint to 7.4+ |
| AGENTS.md | Updates documented code standards to PHP 7.4+ |
| .github/workflows/test.yml | Updates CI matrix to remove older PHP versions and add WP 7.0 |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| Tags: 2fa, mfa, totp, authentication, security | ||
| Tested up to: 7.0 | ||
| Requires at least: 7.0 | ||
| Tested up to: 7.1 |
What?
Drops support for PHP 7.2 and 7.3, raises the minimum PHP version to 7.4 and the minimum WordPress version to 7.0.
Fixes #751
Why?
Per the plugin's version support policy with the release of WordPress 7.1 we'll be dropping the support for WP 6.9.
With WordPress 7.0 and 7.1 be the only supported versions we can enforce PHP 7.4 as its minimum php version.
How?
Requires PHPheader intwo-factor.phpandreadme.txtfrom7.2to7.4Requires at leastheader intwo-factor.phpandreadme.txtfrom6.9to7.0Tested up toinreadme.txtto7.1phpcs.xml.dist:testVersionfrom7.2-to7.4-7.2and7.3from the CI test matrix in.github/workflows/test.yml, removed the four now-redundantexcludeentries, and updated the tested WP version from6.9to7.0AGENTS.mdto reflect the new minimum PHP versionUse of AI Tools
AI assistance: Yes
Tool(s): GitHub Copilot
Model(s): Claude Sonnet 4.6
Used for: Generating the changes across configuration files; all changes were reviewed and verified by me.
Screenshots or screencast
N/A — no UI changes.
Changelog Entry