WP Manifestindependent plugin directory
manifest / updates / wordpress-readonly

Readonly for WordPress WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

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

★ 9stars
19kcomposer installs
1.1.3latest · 4 years ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

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

On Packagist as pivvenit/wordpress-readonly:

composer require pivvenit/wordpress-readonly
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

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

Releases

5 releases.

Tag
Published
1.1.3 latest
Nov 24, 2021 4 years ago
Sep 7, 2020 6 years ago
Sep 7, 2020 6 years ago
Aug 31, 2020 6 years ago
Aug 30, 2020 6 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.

A grade

Security

Readonly for WordPress 1.0.0 · audited by WP Registry

No security issues found.

Audited release
1.0.0
Findings
none
Worst severity
—
Content hash
a5225e193d9e9c44692a2f7b…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.