Skip to content

prepare wp 7.1 release - #900

Open
masteradhoc wants to merge 6 commits into
WordPress:masterfrom
masteradhoc:php-wp-upgrade
Open

prepare wp 7.1 release#900
masteradhoc wants to merge 6 commits into
WordPress:masterfrom
masteradhoc:php-wp-upgrade

Conversation

@masteradhoc

@masteradhoc masteradhoc commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator
  • This will be on-hold until WordPress 7.1 is released!

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?

  • Updated Requires PHP header in two-factor.php and readme.txt from 7.2 to 7.4
  • Updated Requires at least header in two-factor.php and readme.txt from 6.9 to 7.0
  • Updated Tested up to in readme.txt to 7.1
  • Updated phpcs.xml.dist: testVersion from 7.2- to 7.4-
  • Removed PHP 7.2 and 7.3 from the CI test matrix in .github/workflows/test.yml, removed the four now-redundant exclude entries, and updated the tested WP version from 6.9 to 7.0
  • Updated AGENTS.md to reflect the new minimum PHP version

Use 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

Development Update - Drop PHP 7.2 and 7.3 support; raise minimum PHP version to 7.4 and minimum WordPress version to 7.0.

Open WordPress Playground Preview

@masteradhoc masteradhoc self-assigned this Jun 13, 2026
@masteradhoc masteradhoc added this to the Future Release milestone Jun 13, 2026
@masteradhoc
masteradhoc marked this pull request as ready for review July 17, 2026 05:49
@github-actions

Copy link
Copy Markdown

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 props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: masteradhoc <masteradhoc@git.wordpress.org>
Co-authored-by: jeffpaul <jeffpaul@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@masteradhoc
masteradhoc requested review from georgestephanis, kasparsd and peterwilsoncc and a lite review from Copilot August 14, 2026 15:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread readme.txt
Tags: 2fa, mfa, totp, authentication, security
Tested up to: 7.0
Requires at least: 7.0
Tested up to: 7.1
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.

Dropping support for PHP 7.2 and 7.3

2 participants