WP Basic Authentication source code

By nutttaro, on WordPress.org since 2020. 2,000+ active installs.

Browse code Download zip

WP Basic Authentication is a plugin for protected your development WordPress site like .htpasswd and support Docker and Kubernetes (K8s) Features: Easy for setting Basic Authentication Basic Authentication works like... Below is its source code for every one of its 5 releases, what changed in the latest one, and how often it ships.

What changed in 1.2.1

Released May 25, 2026, 6 days after 1.2.0
  • Tested up to WordPress 7.0
  • Use CSS custom properties for admin color scheme compatibility

3 files changed since 1.2.0: 3 modified, 0 added, 0 removed.

Compare 1.2.0 with 1.2.1

Release history

5 releases since February 2026
  1. 1.2.1 May 25, 2026 Tested up to WordPress 7.0
  2. 1.2.0 May 18, 2026 Add REST API (/wp-json/) authentication toggle
  3. 1.1.2 May 10, 2026 Fix password authentication failure caused by double-hashing during save
  4. 1.1.1 Feb 19, 2026 Fix small issue on setting page
  5. 1.1.0 Feb 19, 2026 Hash password with automatic migration from older versions
Full WP Basic Authentication changelog with diffs

Source of 1.2.1

8 files
Browse all WP Basic Authentication 1.2.1 files Browse trunk