diff --git a/.travis.yml b/.travis.yml index 0604dda7..74b5a3ca 100755 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,6 @@ dist: trusty language: php php: - - "5.4" - - "5.5" - "5.6" - "7.2" - "7.3" diff --git a/readme.md b/readme.md index d70fa6cd..7e18149b 100644 --- a/readme.md +++ b/readme.md @@ -9,8 +9,9 @@ Enable Two-Factor Authentication using time-based one-time passwords (OTP, Googl **Requires at least:** 4.3 **Tested up to:** 5.3 **Stable tag:** trunk (master) +**Requires PHP:** 5.6 -[![Build Status](https://travis-ci.org/wordpress/two-factor.svg?branch=master)](https://travis-ci.org/wordpress/two-factor) [![Coverage Status](https://coveralls.io/repos/wordpress/two-factor/badge.svg?branch=master)](https://coveralls.io/github/wordpress/two-factor) [![Built with Grunt](https://gruntjs.com/cdn/builtwith.svg)](http://gruntjs.com) +[![Build Status](https://travis-ci.org/WordPress/two-factor.svg?branch=master)](https://travis-ci.org/WordPress/two-factor) [![Coverage Status](https://coveralls.io/repos/WordPress/two-factor/badge.svg?branch=master)](https://coveralls.io/github/WordPress/two-factor) [![Built with Grunt](https://gruntjs.com/cdn/builtwith.svg)](http://gruntjs.com) ## Description ## diff --git a/readme.txt b/readme.txt index 4b997b2f..a337755d 100644 --- a/readme.txt +++ b/readme.txt @@ -3,6 +3,7 @@ Contributors: georgestephanis, valendesigns, stevenkword, extendwings, sgrant, a Tags: two factor, two step, authentication, login, totp, fido u2f, u2f, email, backup codes, 2fa, yubikey Requires at least: 4.3 Tested up to: 5.3 +Requires PHP: 5.6 Stable tag: trunk Enable Two-Factor Authentication using time-based one-time passwords (OTP, Google Authenticator), Universal 2nd Factor (FIDO U2F, YubiKey), email and backup verification codes. diff --git a/tests/class.two-factor-core.php b/tests/class.two-factor-core.php index 6da44d54..4c544270 100644 --- a/tests/class.two-factor-core.php +++ b/tests/class.two-factor-core.php @@ -75,7 +75,7 @@ public function clean_dummy_user() { * @covers Two_Factor_Core::add_hooks */ public function test_add_hooks() { - Two_Factor_Core::add_hooks(); + Two_Factor_Core::add_hooks( new Two_Factor_Compat() ); $this->assertGreaterThan( 0, diff --git a/two-factor.php b/two-factor.php index d53b819c..ec7698e1 100644 --- a/two-factor.php +++ b/two-factor.php @@ -2,9 +2,9 @@ /** * Plugin Name: Two Factor * Plugin URI: https://wordpress.org/plugins/two-factor/ - * Description: A prototype extensible core to enable Two-Factor Authentication. + * Description: Two-Factor Authentication using time-based one-time passwords, Universal 2nd Factor (FIDO U2F), email and backup verification codes. * Author: Plugin Contributors - * Version: 0.4.8 + * Version: 0.5.0 * Author URI: https://github.com/wordpress/two-factor/graphs/contributors * Network: True * Text Domain: two-factor