Wordfence Login Security source code
By wfryan, on WordPress.org since 2019. 60,000+ active installs.
WORDFENCE LOGIN SECURITY Wordfence Login Security contains a subset of the functionality found in the full Wordfence plugin: Two-factor Authentication, XML-RPC Protection, and Login Page CAPTCHA. Below is its source code for every one of its 28 releases, what changed in the latest one, and how often it ships.
What changed in 1.1.18
Released Aug 10, 2026, 3 months after 1.1.16- Change: Hardened 2FA flow when installed next to plugins with non-standard authentication (credit: Austin Ginder of Anchor Hosting)
- Change: Hardened 2FA remember cookie handling
- Fix: Fixed an issue with the 2FA embed shortcode that could prevent loading needed JavaScript/CSS assets
- Fix: Fixed an error with Divi i18n when a user had exhausted all 2FA recovery codes
- Note: The standalone Login Security plugin will be discontinued around August 12, 2026. Sites using it should install the full Wordfence plugin to retain this functionality
40 files changed since 1.1.16: 10 modified, 15 added, 15 removed.
- classes/controller/ajax.php modified, -29 bytes
- classes/controller/totp.php modified, +87 bytes
- classes/controller/users.php modified, +4,802 bytes
- classes/controller/wordfencels.php modified, +1,937 bytes
- classes/model/asset.php modified, +609 bytes
- classes/model/script.php modified, +1,384 bytes
- classes/model/style.php modified, +1,123 bytes
- languages/wordfence-login-security.pot modified, +12 bytes
- readme.txt modified, +627 bytes
- wordfence-login-security.php modified, same size
And 30 more.
Compare 1.1.16 with 1.1.18Release history
28 releases since May 2019- 1.1.18 Aug 10, 2026 Change: Hardened 2FA flow when installed next to plugins with non-standard authentication (credit: Austin Ginder of Anchor Hosting)
- 1.1.16 Apr 29, 2026 Improvement: Migrated all deprecated JavaScript libraries in use to a Vue-based infrastructure
- 1.1.15 Jan 15, 2025 Change: Reworked setting caching to avoid issues with some object caches
- 1.1.14 Jan 2, 2025 Improvement: General compatibility improvements and better error handling for PHP 8+
- 1.1.12 Jul 15, 2024 Change: Revised the formatting of TOTP app URLs to prioritize the site’s own URL for better sorting and display