[wp-trac] [WordPress Trac] #48025: When the permalink structure ends with a slash, a slash is appended to the URL of robots.txt.
WordPress Trac
noreply at wordpress.org
Thu Jun 25 11:39:37 UTC 2020
#48025: When the permalink structure ends with a slash, a slash is appended to the
URL of robots.txt.
---------------------------------------------+-----------------------------
Reporter: Toro_Unit | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5
Component: Canonical | Version: 5.3
Severity: normal | Resolution: fixed
Keywords: has-unit-tests has-patch commit | Focuses:
---------------------------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"48166" 48166]:
{{{
#!CommitTicketReference repository="" revision="48166"
Canonical: Move trailing slash handling for `robots.txt` and sitemaps to a
single condition.
Give the unit test a more descriptive name.
Follow-up to [48153], [48155].
See #48025.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48025#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list