WordPress.org Two-Factor
2FA for WordPress.org accounts
★ 37stars
12forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/wordpress/wporg-two-factor/archive/refs/heads/trunk.zipDeclares an update source (false), so updates arrive through the plugin's own updater.
From the readme
WPorg Two-Factor
WordPress.org-specific customizations for the Two Factor plugin
Setup
1. npm install
1. npm run build --workspaces
1. npx wp-env start
1. Visit https://localhost:8888/users/admin/edit/account/ to view the custom settings UI.
1. If you want to make JS changes, run npm run start --workspaces.
Testing
PHP unit tests can be run with npm test. composer run coverage will generate a coverage report.
JavaScript unit tests can be run with npm run test:js.
Security
Please privately report any potential security issues to the WordPress HackerOne program.