`get_home_url()` assumes `$GLOBALS['pagenow']` is set. It isn't in `Tests_URL`... and now it is.

See #25282.



git-svn-id: https://develop.svn.wordpress.org/trunk@25366 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2013-09-11 22:06:21 +00:00
parent 38474ef5d1
commit 6de2f44495
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ class Tests_URL extends WP_UnitTestCase {
function setUp() {
parent::setUp();
$this->_old_server = $_SERVER;
$GLOBALS['pagenow'] = '';
}
function tearDown() {