[wp-trac] [WordPress Trac] #20589: domain_exists should add trailing slash to path
WordPress Trac
noreply at wordpress.org
Tue Mar 25 17:05:43 UTC 2014
#20589: domain_exists should add trailing slash to path
-------------------------------------+------------------------
Reporter: ejdanderson | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9
Component: Networks and Sites | Version: 3.0
Severity: minor | Resolution:
Keywords: has-patch needs-testing | Focuses: multisite
-------------------------------------+------------------------
Comment (by nacin):
Replying to [comment:9 jeremyfelt]:
> We can't use `get_site_by_path()` as a direct replacement in current
trunk as it will always search for `/` as a path in addition to the passed
`$path` argument.
I wonder if that is an indication that get_site_by_path() is not quite
flexible enough and/or isn't ideally named. Let's discuss that further.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/20589#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list