[wp-trac] [WordPress Trac] #41451: Use pretty permalinks by default in the test suite

WordPress Trac noreply at wordpress.org
Fri Oct 19 11:14:00 UTC 2018

#41451: Use pretty permalinks by default in the test suite
 Reporter:  johnbillion                   |       Owner:  (none)
     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 danielbachhuber):

 In [changeset:"43766" 43766]:
 #!CommitTicketReference repository="" revision="43766"
 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.
 Merges [42250] to the 5.0 branch.
 Partially reverts [43720].
 Fixes #42452. See #41451, #45017.

Ticket URL: <https://core.trac.wordpress.org/ticket/41451#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list