[wp-trac] [WordPress Trac] #34394: Initialise $_SERVER['SERVER_NAME'] in the unit test bootstrap

WordPress Trac noreply at wordpress.org
Wed Oct 21 23:49:24 UTC 2015


#34394: Initialise $_SERVER['SERVER_NAME'] in the unit test bootstrap
------------------------------+-----------------
 Reporter:  johnbillion       |      Owner:
     Type:  task (blessed)    |     Status:  new
 Priority:  normal            |  Milestone:  4.4
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------
 `$_SERVER['SERVER_NAME']` isn't set during the unit test bootstrap. A few
 individual tests get around this by manually setting and resetting its
 value. This should not be required.

 Previously: #32636, #33877

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34394>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list