Maintenance Switch changelog

By Fugu Design, on WordPress.org since 2015. 800+ active installs.

Browse code

37 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.

  1. 1.7.4
    • WordPress 7.2 compatibility confirmed (tested against 7.2-RC3), verified with the official Plugin Check tool
    • PHP 8.6 compatibility confirmed
    • Fix: “translation loading triggered too early” notice (default maintenance page strings are now built on demand instead of at plugin load)
    • Fix: undefined array key warnings for REMOTE_ADDR / REQUEST_URI when WordPress is loaded from the command line (e.g. system cron) during maintenance
    Source Diff vs 1.7.3
  2. 1.7.3
    • WordPress 7.1 compatibility confirmed (tested against 7.1-RC3), verified with the official Plugin Check tool
    • Fix: Requires at least raised from 3.5 to 5.0 to match the actual minimum WordPress version required by functions used (wp_unslash, wp_enqueue_code_editor)
    • Fix: removed manual translation loading (deprecated since WordPress 4.6; translations are auto-loaded for WordPress.org-hosted plugins)
    • Fix: replaced discouraged unlink() with wp_delete_file()
    Source Diff vs 1.7.2
  3. 1.7.2
    • WordPress 7.0 compatibility confirmed
    • Updated minimum PHP requirement to 7.4 (aligned with WordPress 7.0)
    • Admin CSS updated to use WordPress CSS variables for compatibility with the new Modern admin theme
    • Fix: admin bar icon color now inherits native WordPress styles (was grey instead of white)
    • Fix: admin bar button text and icon stay white on red background when maintenance is active
    • Fix: admin bar button focus state cleared after toggle (no more blue highlight)

    And 2 more notes.

    Source Diff vs 1.7.1
  4. 1.7.1
    • WordPress 6.9 compatibility confirmed
    • Improved WordPress Coding Standards compliance
    • Global variables now properly prefixed with maintenance_switch_
    • Functions renamed with correct prefix for better naming conventions
    • Added backward compatibility wrappers for smooth updates
    • Code quality improvements and optimizations
    Source Diff vs 1.7.0
  5. 1.7.0
    • WordPress 6.8 compatibility tested
    • Enhanced security improvements
    • Code modernization
    Source Diff vs 1.6.4
  6. 1.6.4

    No notes for this release in the current readme.

    Source Diff vs 1.6.3
  7. 1.6.3

    No notes for this release in the current readme.

    Source Diff vs 1.6.2
  8. 1.6.2

    No notes for this release in the current readme.

    Source Diff vs 1.6.1
  9. 1.6.1

    No notes for this release in the current readme.

    Source Diff vs 1.6.0
  10. 1.6.0
    • WordPress 6.3 compatibility tested
    • PHP 8.1 compatibility improvements
    • Replace deprecated wp_specialchars_decode() with htmlspecialchars_decode()
    • Fix fatal error with function redeclaration in .maintenance template
    • Modernize plugin for current WordPress standards
    Source Diff vs 1.5.2
  11. 1.5.2
    • Fix the preview page bug with code editor
    Source Diff vs 1.5.1
  12. 1.5.1
    • Fix the disabled code field bug
    • Enqueue admin assets only on settings page
    Source Diff vs 1.5.0
  13. 1.5.0
    • Add a gitignore and gulp files
    • Add the wp code editor to the page HTML setting
    • Test for compatibility with WordPress 4.9
    Source Diff vs 1.4.0
  14. 1.4.0
    • Add a info link about moving to GitHub
    • Test for compatibility with WordPress 4.7
    Source Diff vs 1.3.8
  15. 1.3.8
    • Adding an option for stoping to return 503 error code
    Source Diff vs 1.3.7
  16. 1.3.7
    • Fix a bug of settings initialization
    Source Diff vs 1.3.6
  17. 1.3.6
    • Fix a php in_array warning in admin display
    Source Diff vs 1.3.5
  18. 1.3.5
    • Fix a php error in the admin
    Source Diff vs 1.3.4
  19. 1.3.4
    • Fix a bug with migration of settings
    Source Diff vs 1.3.3
  20. 1.3.3
    • Fix bug with data saving
    • Fix bug with HTML encoding
    • Fix bug with files generation
    • Fix a very persistent bug with settings migration
    Source Diff vs 1.3.2
  21. 1.3.2
    • Fix a persistent bug with settings migration
    Source Diff vs 1.3.1
  22. 1.3.1
    • Fix a PHP4 compatibility issue
    • Fix a bug with settings migration
    • Improve some styles
    Source Diff vs 1.3.0
  23. 1.3.0
    • Improve performances
    • Implement WP Settings API
    • Adding reset features
    Source Diff vs 1.2.2
  24. 1.2.2
    • Adding POT language file
    • Updating language files
    Source Diff vs 1.2.1
  25. 1.2.1
    • Fix a bug with html code in preview page
    • Fix a bug when delete theme file after activating it
    Source Diff vs 1.2.0
  26. 1.2.0
    • Improve the switch button appearance
    • Adding Maintenance page preview
    Source Diff vs 1.1.8
  27. 1.1.8
    • Change the plugin description in admin area
    Source Diff vs 1.1.7
  28. 1.1.7
    • Adding roles management for maintenance control
    • Fix a icon bug on the switch button
    Source Diff vs 1.1.6
  29. 1.1.6
    • Adding omitted translations
    • Fix a bug about the HTML text config
    Source Diff vs 1.1.4
  30. 1.1.4
    • Fix the bug to get IP through a proxy
    Source Diff vs 1.1.3
  31. 1.1.3
    • Fix a ajax button bug
    Source Diff vs 1.0.7
  32. 1.0.7
    • Fix a saving bug in the settings page
    Source Diff vs 1.0.6
  33. 1.0.6
    • Fix a js bug with the “add my ip” button
    Source Diff vs 1.0.5
  34. 1.0.5
    • Fix a php syntax error in config.php
    Source Diff vs 1.0.4
  35. 1.0.4
    • Adding exceptions for IP addresses
    Source Diff vs 1.0.3
  36. 1.0.3
    • Adding automatic detection of the login url
    Source Diff vs 1.0.2
  37. 1.0.2
    • Ajusting the readme file
    Source