[wp-trac] [WordPress Trac] #32636: $_SERVER['REQUEST_METHOD'] isn't set in the test environment

WordPress Trac noreply at wordpress.org
Sat Jun 13 15:41:01 UTC 2015

#32636: $_SERVER['REQUEST_METHOD'] isn't set in the test environment
 Reporter:  johnbillion       |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  4.3
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
Changes (by johnbillion):

 * keywords:  needs-patch => has-patch
 * milestone:  Awaiting Review => 4.3


 [attachment:32636.patch] sets `$_SERVER['REQUEST_METHOD']` to `GET` in the
 test environment to prevent `wp_validate_auth_cookie()` triggering a PHP

 All tests remain passing with this change.

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

More information about the wp-trac mailing list