[wp-trac] [WordPress Trac] #31417: go_to function breaks when path isn't set
WordPress Trac
noreply at wordpress.org
Mon Feb 23 01:07:20 UTC 2015
#31417: go_to function breaks when path isn't set
------------------------------+---------------------------
Reporter: joostdevalk | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.2
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
------------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"31515"]:
{{{
#!CommitTicketReference repository="" revision="31515"
Ensure that a request URL is always set in `WP_UnitTestCase::go_to()`.
Failure to set this variable meant that passing the home URL to `go_to()`
(without a trailing slash) resulted in a PHP notice, and failed to reset
the
globals properly.
Props joostdevalk.
Fixes #31417.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31417#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list