Skip to content
Corex

ReleaseSafeguards

Corex\Config\Releases\ReleaseSafeguards · class · Config layer

What stands between visitors and a half-installed site, and the way back, raised together and for one installation (spec 107, plan D7 and D9; FR-024, FR-042). The way back is written first: an installation whose recovery file cannot be written does not hold visitors off either, because it does not start.

__construct(ReleaseMaintenance $maintenance, ReleaseRecoveryPlugin $recovery, string $home)

Section titled “__construct(ReleaseMaintenance $maintenance, ReleaseRecoveryPlugin $recovery, string $home)”

Write the way back, then hold visitors off.

Go on holding visitors off: WordPress stops by itself ten minutes after the time it was given, and an installation that is still bringing a network’s sites to the release is making progress, not stuck.

Let visitors in. The way back stays for as long as there is a release to go back to.

Let visitors in and remove the way back: there is nothing to go back to.

Let visitors in and remove the way back of the installation whose key has this hash. One that is another’s, the installation before’s which this one did not get to write over, is left: it is still the way back to the release kept for it.

Whether the way back that needs no admin is on the site.

The address that puts the previous release back without the admin, for an installation’s key.