[wp-trac] [WordPress Trac] #35631: Possible PHP notice when updating Site Info
WordPress Trac
noreply at wordpress.org
Wed Jan 27 22:58:23 UTC 2016
#35631: Possible PHP notice when updating Site Info
--------------------------------------+------------------------------
Reporter: flixos90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version:
Severity: normal | Resolution:
Keywords: has-patch good-first-bug | Focuses: multisite
--------------------------------------+------------------------------
Comment (by flixos90):
Replying to [comment:3 kjbenk]:
> Replying to [comment:2 flixos90]:
> > I'd rather have it detect whether the path is set, and otherwise
simply define a path of only a trailing slash. I think showing an error
message would confuse the user here.
>
> I am not 100% familiar with how the site url affects multisite but would
this create any unwanted affects?
It won't since basically, there should not be any difference in whether
you specify a URL with or without trailing slash. However, every site
needs to have a path (when using subdomains only, this path is '/') - so
if you don't specify a path, we can safely assume it is the '/' I think.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35631#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list