WP Manifestindependent plugin directory
manifest / updates / wordpress-readonly

Readonly for WordPress

WordPress plugin that provides WP-CLI commands to make it readonly

by PivvenIT · github.com/pivvenit/wordpress-readonly · website

9stars
17kcomposer installs
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/pivvenit/wordpress-readonly/archive/refs/heads/master.zip

Also on Packagist as pivvenit/wordpress-readonly:

composer require pivvenit/wordpress-readonly

From the readme

WordPress Readonly 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. Usage Enable readonly mode Disable readonly mode

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
1.1.3Nov 24, 2021
1.1.2Sep 7, 2020
1.1.1Sep 7, 2020
1.1.0Aug 31, 2020
1.0.0Aug 30, 2020