[wp-trac] [WordPress Trac] #22383: Combine Domain and Path UI
WordPress Trac
noreply at wordpress.org
Tue May 26 05:01:35 UTC 2015
#22383: Combine Domain and Path UI
--------------------------------+----------------------------
Reporter: scribu | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.3
Component: Networks and Sites | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui, multisite
--------------------------------+----------------------------
Comment (by jeremyfelt):
Working ahead of mock-ups a bit to explore the logic.
[https://core.trac.wordpress.org/attachment/ticket/22383/22383.4.diff
22383.4.diff] expands on the first patches:
* If the main site, assume that nothing can be updated for
scheme/domain/path on this screen.
* If subdomain configuration, treat scheme/domain/path as one. `parse_url`
to break them apart for `update_blog_details()`.
* If subdirectory configuration, assume scheme/domain are inherited from
the network and only path can be updated.
I'm [https://wordpress.slack.com/archives/core-multisite/p1432610045000004
somewhat confused] on why the option to update home/site url is necessary.
It seems that multisite relies so much on the data from `wp_blogs` that a
`siteurl` option that was different would cause crazy happenings.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22383#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list