[wp-trac] [WordPress Trac] #41451: Use pretty permalinks by default in the test suite
WordPress Trac
noreply at wordpress.org
Tue Nov 28 07:09:45 UTC 2017
#41451: Use pretty permalinks by default in the test suite
------------------------------------------+------------------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+------------------------------
Comment (by rmccue):
In [changeset:"42250"]:
{{{
#!CommitTicketReference repository="" revision="42250"
REST API: Ensure rest_url() consistently has leading slash.
`rest_url()` inconsistent addes slashes to the passed path depending on
whether the site has pretty permalinks enabled. Apart from being
inconsistent, this also caused the unit tests to fail when pretty
permalinks are enabled.
Props frank-klein.
Fixes #42452. See #41451.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41451#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list