{"id":221569,"date":"2025-01-31T18:11:43","date_gmt":"2025-01-31T18:11:43","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/speedx-maintenance-mode\/"},"modified":"2025-05-19T17:22:33","modified_gmt":"2025-05-19T17:22:33","slug":"speedx-maintenance-mode","status":"publish","type":"plugin","link":"https:\/\/ast.wordpress.org\/plugins\/speedx-maintenance-mode\/","author":18810534,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"9.1","stable_tag":"9.1","tested":"6.8.5","requires":"6.8","requires_php":"7.4","requires_plugins":null,"header_name":"Speedx - Maintenance Mode","header_author":"Vaclav Pospisil","header_description":"Maintenance Mode - This minimalist plugin allows administrators to activate maintenance mode with fully customizable HTML and CSS.","assets_banners_color":"ffcd56","last_updated":"2025-05-19 17:22:33","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/buymeacoffee.com\/speedx","header_plugin_uri":"","header_author_uri":"https:\/\/speedx.cz","rating":5,"author_block_rating":0,"active_installs":100,"downloads":981,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"9":{"tag":"9","author":"roicecz","date":"2025-03-13 18:35:20"},"9.1":{"tag":"9.1","author":"roicecz","date":"2025-05-19 17:22:33"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3255543,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3255543,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3255543,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3255543,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":null,"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3255543,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3255543,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3255543,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3255543,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"<strong>Basic settings Page<\/strong> - Overview of the plugin's basic settings. Editing the maintenance mode page with WYSIWYG editor.","2":"<strong>Detailed settings<\/strong> - Editing custom CSS styles, analytics codes, and additional scripts.","3":"<strong>Password settings page<\/strong> - Entry password and security settings page.","4":"<strong>Frontend Example<\/strong> - What visitors see when maintenance mode is active.1. assets\/screenshot-1.png","5":"assets\/screenshot-2.png","6":"assets\/screenshot-3.png","7":"assets\/screenshot-4.png"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[802,806,732,1281,733],"plugin_category":[52],"plugin_contributors":[239475],"plugin_business_model":[],"class_list":["post-221569","plugin","type-plugin","status-publish","hentry","plugin_tags-coming-soon","plugin_tags-construction","plugin_tags-maintenance","plugin_tags-maintenance-mode","plugin_tags-under-construction","plugin_category-performance","plugin_contributors-roicecz","plugin_committers-roicecz"],"banners":{"banner":"https:\/\/ps.w.org\/speedx-maintenance-mode\/assets\/banner-772x250.png?rev=3255543","banner_2x":"https:\/\/ps.w.org\/speedx-maintenance-mode\/assets\/banner-1544x500.png?rev=3255543","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/speedx-maintenance-mode\/assets\/icon-128x128.png?rev=3255543","icon_2x":"https:\/\/ps.w.org\/speedx-maintenance-mode\/assets\/icon-256x256.png?rev=3255543","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/speedx-maintenance-mode\/assets\/screenshot-1.png?rev=3255543","caption":"<strong>Basic settings Page<\/strong> - Overview of the plugin's basic settings. Editing the maintenance mode page with WYSIWYG editor."},{"src":"https:\/\/ps.w.org\/speedx-maintenance-mode\/assets\/screenshot-2.png?rev=3255543","caption":"<strong>Detailed settings<\/strong> - Editing custom CSS styles, analytics codes, and additional scripts."},{"src":"https:\/\/ps.w.org\/speedx-maintenance-mode\/assets\/screenshot-3.png?rev=3255543","caption":"<strong>Password settings page<\/strong> - Entry password and security settings page."},{"src":"https:\/\/ps.w.org\/speedx-maintenance-mode\/assets\/screenshot-4.png?rev=3255543","caption":"<strong>Frontend Example<\/strong> - What visitors see when maintenance mode is active.1. assets\/screenshot-1.png"}],"raw_content":"<!--section=description-->\n<p>This minimalistic plugin allows administrators to activate maintenance mode with fully customizable HTML and CSS. The plugin allows you to unlock access to maintenance mode with a simple passcode\/password. After entering the passcode correctly, the visitor will see the full version of the site without having to have a user account. The input password can be secured using Google reCaptcha.<\/p>\n\n<h3>Key Features:<\/h3>\n\n<ul>\n<li><strong>Customizable Maintenance Page:<\/strong> Set the page title and content using the built-in WordPress WYSIWYG editor. Easily add media from your website's media library.<\/li>\n<li><strong>Advanced Customization:<\/strong> Insert custom CSS styles, analytics codes, and additional scripts in various sections of the page.<\/li>\n<li><strong>User Access Control:<\/strong> Unauthenticated visitors will see the maintenance mode page, while all logged-in users with the \"Visitor\" role or higher will have full access to the website.<\/li>\n<li><strong>Enter using a simple password:<\/strong> Visitors can unlock the site using a simple password and see it without the maintenance mode page. No user account is required for this unlocking in the Wordpress system. <\/li>\n<\/ul>\n\n<p>This plugin provides a simple yet powerful way to create a personalized maintenance mode page while maintaining full control over its design and functionality.<\/p>\n\n<h3>External Services<\/h3>\n\n<p>This plugin uses Google reCAPTCHA to enhance security and prevent automated bots from bypassing the maintenance mode restriction.<\/p>\n\n<h3>What data is sent and when?<\/h3>\n\n<p>When a user submits the unlock form, the plugin sends the following data to Google's reCAPTCHA API:\n- The user's reCAPTCHA response token.\n- The user's IP address (sent automatically by Google's API).\n- The action associated with the reCAPTCHA verification.<\/p>\n\n<h3>Why is this data sent?<\/h3>\n\n<p>The data is required for Google reCAPTCHA to assess the likelihood that the form submission is performed by a human user. The plugin uses this verification to help prevent automated access attempts.<\/p>\n\n<h3>Where is the data sent?<\/h3>\n\n<p>The data is transmitted to <strong>Google's reCAPTCHA servers<\/strong> for verification.<\/p>\n\n<h3>Privacy and Terms of Service<\/h3>\n\n<p>For more details about how Google handles this data, please refer to:\n- <a href=\"https:\/\/policies.google.com\/terms\">Google reCAPTCHA Terms of Service<\/a>\n- <a href=\"https:\/\/policies.google.com\/privacy\">Google Privacy Policy<\/a><\/p>\n\n<h3>Donations<\/h3>\n\n<p>If you find this plugin useful, consider buying me a coffee:<br \/>\n<a href=\"https:\/\/buymeacoffee.com\/speedx\">Donate here<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress.<\/li>\n<li>Configure the settings under <strong>Settings &gt; Maintenance Mode<\/strong>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='who%20can%20see%20the%20maintenance%20mode%20page%3F'><h3>Who can see the maintenance mode page?<\/h3><\/dt>\n<dd><p>Only <strong>non-logged-in visitors<\/strong> will see the maintenance mode page. Logged-in users with the \"Visitor\" role or higher will be able to access the full website.<\/p><\/dd>\n<dt id='can%20i%20customize%20the%20maintenance%20mode%20page%3F'><h3>Can I customize the maintenance mode page?<\/h3><\/dt>\n<dd><p>Yes! You can fully customize the page using the <strong>WordPress WYSIWYG editor<\/strong>, including adding custom HTML, CSS, and media.<\/p><\/dd>\n<dt id='does%20this%20plugin%20affect%20logged-in%20users%3F'><h3>Does this plugin affect logged-in users?<\/h3><\/dt>\n<dd><p>No, logged-in users with sufficient permissions will see the regular website without the maintenance page.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>= 9.1 (2025-05-19)\n* Moved the setcookie() call into the init action hook to prevent \"headers already sent\" warnings.\n* Added a check in the Google reCAPTCHA JavaScript to verify the presence of the spx1mm_submit element before binding the event. This prevents console errors after successful form submission.\n* Handled the definition of the DONOTCACHEPAGE constant to prevent an error if it is already defined by another plugin.\n* Added Tags: construction, under construction to the readme.txt file.\n* Tested the plugin with WordPress 6.8.1<\/p>\n\n<h4>9 (2025-03-11)<\/h4>\n\n<ul>\n<li>Fixed loading of inline JavaScript to registered handle script with wp_add_inline_script function.<\/li>\n<li>Adjusted registration of scripts for Google reCaptcha to match the wp_enqueue_script requirement at most. <\/li>\n<li>Modified loading language mutations with init instead of plugins_loaded. Loading of language mutations will be removed when the plugin is approved for the official repository. <\/li>\n<li>Unified version of tested version of wordpress in readme.txt and speedx-maintenance-mode.php<\/li>\n<\/ul>\n\n<h4>8 (2025-03-10)<\/h4>\n\n<ul>\n<li>Fixed incorrect numbering of towers in Tested up to.<\/li>\n<li>Added feature to globally disable cache on power up and fill in Maintenance Mode input password.<\/li>\n<li>Modified labels and texting in plugin settings.<\/li>\n<li>Added text for information about the external Google reCaptcha service.<\/li>\n<li>Renamed text domain according to the assigned spx-maintenance-mode \u2192 speedx-maintenance-mode slug.<\/li>\n<li>Checked all input and output values and added missing validation functions.<\/li>\n<li>Added custom sanitizer class for escaping input and output values.<\/li>\n<li>Comprehensively changed the perfix including values in the database from spx_mm_ to spx1mm_ to change the probability of conflict with another plugin.<\/li>\n<li>Checking the names of all functions and filling in any missing spx1mm_ prefix.<\/li>\n<li>Added validation of translation input values.<\/li>\n<li>Revised plugin directory and main plugin file to match the assigned slug.<\/li>\n<li>Replaced date() function with gmdate()<\/li>\n<li>Removed php termination tag from additional files.<\/li>\n<li>Modified admin bar item generation to match data validation.<\/li>\n<li>Modified loading of content from the database to properly sanitize the data while preserving the formatting and ordering of the Wp WYSIWYG editor.<\/li>\n<\/ul>\n\n<p>Translated with DeepL.com (free version)<\/p>\n\n<h4>7 (2025-02-20)<\/h4>\n\n<ul>\n<li>Fixed an error in evaluating conditions for a cleanly installed plugin that does not yet have any data in the database.<\/li>\n<\/ul>\n\n<h4>6 (2025-02-18)<\/h4>\n\n<ul>\n<li>Added verification of the existence of cookies before processing them.<\/li>\n<li>Added initialization of global variable for errors before data processing.<\/li>\n<li>Modified Google reCaptcha processing after form submission and updated the action to a more accurate model to make the obtained ranking as accurate as possible. Added error reporting to system log with recaptcha validation status, after more accurate debugging.<\/li>\n<li>Added option to set reCaptcha score.<\/li>\n<li>Added information and safety instructions.<\/li>\n<\/ul>\n\n<h4>5 (2025-02-17)<\/h4>\n\n<ul>\n<li>Added function for unlocking maintenance mode using an entry code. Plus addition of several layers of security against input code testing.<\/li>\n<li>Added feature to display maintenance mode status in admin bar.<\/li>\n<li>Updated default css style for input screen.<\/li>\n<li>Fixed loading default values for input screen settings.<\/li>\n<li>Added custom error trapping and display.<\/li>\n<li>Separated code to clear plugin cache into custom php file.<\/li>\n<\/ul>\n\n<h4>4 (2025-02-04)<\/h4>\n\n<ul>\n<li>Modified cache clearing function for cache plugins. Split into individual conditions with custom checking of the availability of the cleaning functions.<\/li>\n<li>Default HTML page content split into multiple separate text sections for the translation system.<\/li>\n<li>The system for loading default values has been redesigned.<\/li>\n<\/ul>\n\n<h4>3 (2025-01-31)<\/h4>\n\n<ul>\n<li>Added full English translation.<\/li>\n<li>Added tab memory when saving data in a specific tab.<\/li>\n<li>Added a field for the page title.<\/li>\n<li>Refactored the HTML structure of the output template.<\/li>\n<li>Fixed the ability to save empty values.<\/li>\n<li>Separated value storage based on the active tab to prevent interference between tabs.<\/li>\n<li>Improved the visual layout of the plugin settings page.<\/li>\n<li>Cleaned up development notes in the code and prepared for publication.<\/li>\n<\/ul>\n\n<h4>2 (2025-01-29)<\/h4>\n\n<ul>\n<li>Updated the toggle switch design for enabling\/disabling maintenance mode.<\/li>\n<li>Updated the UI and split the main settings page into \"Basic Settings\" and \"Advanced Settings\" tabs.<\/li>\n<li>Added a heading to the information section, including a default text.<\/li>\n<li>Implemented a translation system and initial translations.<\/li>\n<li>Added custom CSS and JavaScript scripts.<\/li>\n<li>Added a function to clear the cache for commonly used caching plugins.<\/li>\n<\/ul>\n\n<h4>1 (2025-01-16)<\/h4>\n\n<ul>\n<li>Initial release of the plugin with basic functionality.<\/li>\n<\/ul>","raw_excerpt":"This minimalist plugin allows administrators to activate maintenance mode with fully customizable HTML and CSS.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/221569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=221569"}],"author":[{"embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/roicecz"}],"wp:attachment":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=221569"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=221569"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=221569"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=221569"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=221569"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=221569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}