[wp-trac] [WordPress Trac] #27999: Problem with embedding WordPress Multisite in other PHP applications caused by path difference in ms-settings
WordPress Trac
noreply at wordpress.org
Sun Dec 13 00:54:42 UTC 2015
#27999: Problem with embedding WordPress Multisite in other PHP applications caused
by path difference in ms-settings
--------------------------------------------------+------------------------
Reporter: ivanbajalovic | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Networks and Sites | Version: 3.9
Severity: major | Resolution: wontfix
Keywords: reporter-feedback close dev-feedback | Focuses: multisite
--------------------------------------------------+------------------------
Changes (by jeremyfelt):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
Per my [comment:3 comment above], I'm going to close this as wontfix.
It's still possible to include WordPress multisite in another application,
but because `REQUEST_URI` will likely be different than the domain/path
used to lookup information in the `wp_blogs` table, a custom `sunrise.php`
should be used to populate `$current_blog` and `$current_site` with the
correct site and network objects.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27999#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list