Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/conflict-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ standalone's own deactivation hook would otherwise run this early: a routine `fl
in it would regenerate the rules before `init` declared a single post type, and every custom
permalink on the site would start 404ing.

**A site that never loads wp-admin never resolves.** Every gate above needs an interactive admin
page view. Any website administered entirely over SFTP, Composer, or WP-CLI — one whose owner never
opens an admin screen in a browser — keeps the standalone active for as long as that holds. There
is still no fatal, because [the load guard](#the-load-guard) runs on every request and stands the
bundled copy down regardless; what waits is the *switchover*. The standalone, frozen at the version
installed, goes on serving in place of the bundled copy the host ships updates for until the first
Comment thread
coderabbitai[bot] marked this conversation as resolved.
request that clears every gate above arrives. That is the price of never ending a non-admin request
with a redirect — one that would drop a visitor's POST or cut a WP-CLI run short — and on such a
site the switchover is simply deferred until then.

## The redirect

The standalone's code is already in memory by the time the conflict is resolved — WordPress
Expand Down
Loading