[wp-trac] [WordPress Trac] #15619: General Settings Tab Not Allowing trailing URL slash to be stored in Site & WordPress address (URL)
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 1 11:18:31 UTC 2010
#15619: General Settings Tab Not Allowing trailing URL slash to be stored in Site &
WordPress address (URL)
--------------------------------------+-------------------------------------
Reporter: dsquared | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future Release
Component: General | Version: 3.0.1
Severity: normal | Resolution:
Keywords: dev-feedback ui-feedback |
--------------------------------------+-------------------------------------
Changes (by dd32):
* keywords: dev-feedback => dev-feedback ui-feedback
* milestone: => Future Release
Comment:
> Instead the server is adding a trailing slash via a 301 redirect. That's
not the behavior in WordPress when a blog is in the root directory.
That sounds like a theme is using the siteurl option directly without
suffixing it as it is supposed to do. alternatively, using the new API's
would also solve that problem. Demetris has hit it on the head as to the
functions to use.
I do however agree with you, It would make more sense for the value in the
field to always be trailingslash'd, however, for compatibility with
WordPress, stored without a trailing slash.. This is simply due to the
fact that people expect to see the trailing slash.
I'm setting to future release purely based on the previous paragraph, but
some UI feedback on if displaying it like that would be appropriate needs
to be answered too
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15619#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list