{"id":21146079,"url":"https://github.com/kmvan/inn-maintenance-mode","last_synced_at":"2026-05-18T22:03:31.380Z","repository":{"id":90031953,"uuid":"143838181","full_name":"kmvan/inn-maintenance-mode","owner":"kmvan","description":"🐘 INN maintenance-mode WordPress plugin (维护模式插件)","archived":false,"fork":false,"pushed_at":"2021-12-29T08:03:38.000Z","size":20,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T13:43:50.933Z","etag":null,"topics":["wordpress-development","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://inn-studio.com/inn-maintenance-mode","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kmvan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-08-07T07:44:30.000Z","updated_at":"2021-12-29T08:03:41.000Z","dependencies_parsed_at":"2024-02-06T22:13:27.466Z","dependency_job_id":null,"html_url":"https://github.com/kmvan/inn-maintenance-mode","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/kmvan/inn-maintenance-mode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmvan%2Finn-maintenance-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmvan%2Finn-maintenance-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmvan%2Finn-maintenance-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmvan%2Finn-maintenance-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kmvan","download_url":"https://codeload.github.com/kmvan/inn-maintenance-mode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmvan%2Finn-maintenance-mode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33192575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["wordpress-development","wordpress-plugin"],"created_at":"2024-11-20T08:45:27.286Z","updated_at":"2026-05-18T22:03:31.336Z","avatar_url":"https://github.com/kmvan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# INN Maintenance Mode\n\n## Requires 环境\n\n* Requires WordPress: 4.9.9\n* Tested up to WordPress: 5.9.99\n* Requires PHP: 7.3.0\n\n## Usage 使用\n\n\u003e 开启站点维护模式。\n\u003e Enable site maintenance-mode.\n\u003e\n\u003e More tips: https://inn-studio.com/inn-maintenance-mode\n\n## Description 描述\n\n\u003e 开启站点维护模式。\n\u003e Enable site maintenance-mode.\n\n## Installation 安装\n\n\u003e 上传插件到 `/wp-content/plugins/` 目录后并在 WP 后台启用即可。\n\u003e Upload to the `/wp-content/plugins/` directory and ENABLE it.\n\n## Custom remote page 自定义远程页面\n\n\u003e Add code into `wp-config.php` file:\n\n\u003e 添加以下代码到 `wp-config.php` 文件：\n\n```php\n\\define('INN_MAINTENANCE_MODE_REMOTE_URL', 'https://YOUR_DOMAIN/PAGE.html');\n```\n\n## Custom server location page 自定义服务器本地页面\n\n\u003e Create a new file and name `maintenance` in WordPress root dir.\n\n\u003e 在 `WordPress` 根目录里创建一个新文件并且命名为 `maintenance`。\n\n## Custom refresh minutes 自定义刷新分钟数\n\n\u003e Add code into `wp-config.php` file:\n\n\u003e 添加以下代码到 `wp-config.php` 文件：\n\n```php\n\\define('INN_MAINTENANCE_MODE_REFRESH_MINUTES', 5);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmvan%2Finn-maintenance-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkmvan%2Finn-maintenance-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmvan%2Finn-maintenance-mode/lists"}