Skip to content

Commit

Permalink
Improve README
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
gmazzap authored Aug 4, 2021
1 parent 6b33771 commit 3aca602
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ The previous section states:
but there's an exception to that.

When visiting `/wp-activate.php` the constant `WP_INSTALLING` is defined and true, however the issues that usually apply in that case (WP not fully reliable) don't apply there, in fact, no "installations" happens when in `/wp-activate.php` and WP is fully loaded.
When visiting `/wp-activate.php` the constant `WP_INSTALLING` is defined and true, however the issues that usually apply in that case (WP not fully reliable) don't apply there. In fact, when in `/wp-activate.php`, no "installations" happens, and WP is fully loaded.

This is why `/wp-activate.php` is a sort of "special case" and WP Context can determine that case via `WpContext::isWpActivate()`. When that returns true, `WpContext::isInstalling()` will return false, and `WpContext::isCore()` will return true, even if `WP_INSTALLING` is defined and true.
This is why `/wp-activate.php` is a sort of "special case" and WP Context can determine that case via `WpContext::isWpActivate()`. When that returns true, `WpContext::isInstalling()` will return false, and `WpContext::isCore()` will return true, even if `WP_INSTALLING` is defined and true.

Please note that `/wp-activate.php` is only available for multisite installations.
Please note that `/wp-activate.php` is only available for multisite installations and `WpContext::isWpActivate()` will always return false in single-site installations.



Expand Down

0 comments on commit 3aca602

Please sign in to comment.