外掛說明
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.
安裝方式
- Upload the
rokku-maintenance-modefolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Navigate to Settings > Maintenance Mode to configure.
常見問題集
-
Will this affect logged-in administrators?
-
No. Administrators (users with
manage_optionscapability) 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.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
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