Commit 8be4bea
committed
Sync: IDC: Swap DOMAIN_MAPPING constant check to SUNRISE_LOADED
In the WordPress MU Domain Mapping plugin, the DOMAIN_MAPPING constant is only set if we're actively mapping a domain. So, if thisdomain.com points to somesubsite.network.com. This led to the 3rd party domain mapping logic to fail for site where the admin was not using the mapped domain.
The SUNRISE_LOADED constant is loaded on every request with the WordPress MU Domain Mapping plugin.1 parent 7214ce7 commit 8be4bea
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments