Rokku Maintenance Mode

توضیحات

Rokku Maintenance Mode lets administrators easily enable a maintenance mode for their WordPress site.
When enabled, non-logged-in visitors will see a custom maintenance page with:

  • A custom logo
  • A headline message
  • A WYSIWYG text message

The WordPress admin bar turns red while maintenance mode is active, and an admin notice is displayed.

Perfect for site updates or temporary downtime, without the complexity.

License

This plugin is licensed under the GPLv2 or later.

نصب

  1. Upload the rokku-maintenance-mode folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Navigate to Settings > Maintenance Mode to configure.

سوالات متداول

Will this affect logged-in administrators?

No. Administrators (users with manage_options capability) will see the normal site.

Can I upload a logo?

Yes, you can upload a logo using the WordPress Media Library.

Will search engines be affected?

Yes. The plugin returns a 503 Service Unavailable status code while active, which tells search engines the downtime is temporary.

نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

توسعه دهندگان و همکاران

“Rokku Maintenance Mode” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

ترجمه “Rokku Maintenance Mode” به زبان شما.

علاقه‌ مند به توسعه هستید؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

گزارش تغییرات

1.4

  • Improved code organization and standards compliance:
    • Updated all function names, options, and constants to use unique prefix
    • Removed deprecated textdomain loading for WordPress 5.0+
    • Properly enqueued all styles using WordPress functions
    • Improved maintenance page template with proper wp_head/wp_footer
    • Added version numbers to all assets for better caching
    • Improved code organization and maintainability

1.3

  • Added comprehensive security improvements:
    • Added nonce verification for maintenance mode toggle
    • Implemented rate limiting for status changes
    • Added security headers (CSP, X-Frame-Options, etc.)
    • Enhanced maintenance page template security
    • Added REST API endpoints with proper auth checks
    • Improved error handling and validation
    • Added responsive design improvements
  • Removed debug logging in production
  • Improved maintenance page styling and accessibility

1.2

  • Fixed maintenance mode detection and display
  • Added proper template redirect priority
  • Improved settings handling and caching
  • Added REST API support for settings
  • Added debugging capabilities

1.1

  • Added media uploader support for logo upload
  • Replaced checkbox with styled on/off toggle
  • Cleaned code for WordPress.org submission