Commit eb96a2e
committed
Bootstrap/Load: Check if
This avoids a PHP warning when running cron via CLI on Multisite:
{{{
Warning: Undefined array key "HTTP_HOST" in wp-includes/ms-settings.php on line 62
}}}
Follow-up to [https://mu.trac.wordpress.org/changeset/11 mu:11], [https://mu.trac.wordpress.org/changeset/423 mu:423], [https://mu.trac.wordpress.org/changeset/543 mu:543], [12602], [27359].
Props Mte90, JochenT, walterebert, elialum, SergeyBiryukov.
Fixes #47733.
git-svn-id: https://develop.svn.wordpress.org/trunk@60226 602fd350-edb4-49c9-b593-d223f7449a82HTTP_HOST is defined when determining the current site.1 parent 163836d commit eb96a2e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments