Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,21 +88,10 @@ jobs:
- '8.1'
- '8.0'
- '7.4'
- '7.3'
- '7.2'
wp:
- latest
- trunk
- '6.9'
exclude:
- php: '7.3'
wp: trunk
- php: '7.2'
wp: trunk
- php: '7.3'
wp: latest
- php: '7.2'
wp: latest
- '7.0'

env:
WP_ENV_PHP_VERSION: ${{ matrix.php }}
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Namespace: `two-factor/1.0` (constant `Two_Factor_Core::REST_NAMESPACE`). Each p

## Code Standards

- PHP 7.2+ compatibility required; enforced by PHPCompatibilityWP.
- PHP 7.4+ compatibility required; enforced by PHPCompatibilityWP.
- Follows WordPress coding standards (WPCS) and WordPress-VIP-Go rules.
- `includes/` is excluded from PHPCS — those files intentionally override core functions.
- The codebase does not fully pass all PHPCS checks (known issue [#437](https://github.com/WordPress/two-factor/issues/437)). Do not treat existing violations as license to introduce new ones.
4 changes: 2 additions & 2 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<!-- Lint all PHP files by default. -->
<file>.</file>

<!-- Ensure all PHP code is compatible with PHP 7.2 and higher (see upgrade policy in README). -->
<!-- Ensure all PHP code is compatible with PHP 7.4 and higher (see upgrade policy in README). -->
<rule ref="PHPCompatibilityWP" />
<config name="testVersion" value="7.2-"/>
<config name="testVersion" value="7.4-"/>

<rule ref="WordPress" />
<rule ref="WordPress-VIP-Go" />
Expand Down
4 changes: 3 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
=== Two Factor ===
Contributors: georgestephanis, kasparsd, masteradhoc, valendesigns, stevenkword, jeffpaul, extendwings, sgrant, aaroncampbell, johnbillion, stevegrunwell, netweb, alihusnainarshad, passoniate
Tags: 2fa, mfa, totp, authentication, security
Tested up to: 7.0
Requires at least: 7.0
Tested up to: 7.1
Stable tag: 0.16.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://spdx.org/licenses/GPL-2.0-or-later.html

Expand Down
4 changes: 2 additions & 2 deletions two-factor.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
* Plugin Name: Two Factor
* Plugin URI: https://wordpress.org/plugins/two-factor/
* Description: Enable Two-Factor Authentication using time-based one-time passwords, email, and backup verification codes.
* Requires at least: 6.9
* Requires at least: 7.0
* Version: 0.16.0
* Requires PHP: 7.2
* Requires PHP: 7.4
* Author: WordPress.org Contributors
* Author URI: https://github.com/wordpress/two-factor/graphs/contributors
* License: GPL-2.0-or-later
Expand Down
Loading