WP Safe Mode source code

By Marcus (aka @msykes), on WordPress.org since 2018. 2,000+ active installs.

Browse code Download zip

WP Safe Mode allows you to view your site temporarily with certain plugins disabled/enabled as well as switching to another theme. Below is its source code for every one of its 4 releases, what changed in the latest one, and how often it ships.

What changed in 1.3

Released Sep 24, 2026, 6 years after 1.2
  • added toggle for adding all plugins in one go to activate or keep active in safe mode

4 files changed since 1.2: 4 modified, 0 added, 0 removed.

Compare 1.2 with 1.3

Release history

4 releases since May 2019
  1. 1.3 Sep 24, 2026 added toggle for adding all plugins in one go to activate or keep active in safe mode
  2. 1.2 Aug 12, 2020 fixed fatal errors on environments where wp-config.php is not in root folder,
  3. 1.1 May 19, 2019 added failsafe check for some edge case WSOD (e.g. mu-plugins using hardcoded directory path includes) before installing loader
  4. 1.0 May 8, 2019 First Release
Full WP Safe Mode changelog with diffs

Source of 1.3

68 files
Browse all WP Safe Mode 1.3 files Browse trunk