Wordfence Login Security source code

By wfryan, on WordPress.org since 2019. 60,000+ active installs.

Browse code Download zip

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.

And 30 more.

Compare 1.1.16 with 1.1.18

Release history

28 releases since May 2019
  1. 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)
  2. 1.1.16 Apr 29, 2026 Improvement: Migrated all deprecated JavaScript libraries in use to a Vue-based infrastructure
  3. 1.1.15 Jan 15, 2025 Change: Reworked setting caching to avoid issues with some object caches
  4. 1.1.14 Jan 2, 2025 Improvement: General compatibility improvements and better error handling for PHP 8+
  5. 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
Full Wordfence Login Security changelog with diffs

Source of 1.1.18

100 files
Browse all Wordfence Login Security 1.1.18 files Browse trunk