承接 pivvenit/wordpress-readonly 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

pivvenit/wordpress-readonly

最新稳定版本:2.0.13

Composer 安装命令:

composer require pivvenit/wordpress-readonly

包简介

WordPress plugin that activates readonly mode

README 文档

README

Packagist Packagist Dependabot

A WordPress plugin that makes WordPress readonly. It's main use case is blue/green deployments, in which the active application slot requires a (short) readonly window to sync the database to the other slot.

Features:

  • WP-CLI commands to enable and disable the readonly mode
  • Notify logged-in users (in the admin) of upcoming readonly phase using notification.
  • Disable login for all users during both prepare and readonly phase.
  • Drop all POST requests during readonly phase with a 503 Service Unavailable.
  • Refreshes admin pages for logged-in users once readonly mode is disabled.

Installation

This plugin is designed for WordPress websites that use Composer, such as Bedrock.

composer require pivvenit/wordpress-readonly

Usage

Enable readonly mode

./vendor/bin/wp readonly enable

Disable readonly mode

./vendor/bin/wp readonly disable

统计信息

  • 总下载量: 13.56k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 9
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 9
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-08-30