[wp-trac] [WordPress Trac] #55610: HTTP response should not be 200 when returning error-page

WordPress Trac noreply at wordpress.org
Tue Nov 29 17:24:50 UTC 2022


#55610: HTTP response should not be 200 when returning error-page
--------------------------+------------------------------
 Reporter:  april213      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  HTTP API      |     Version:
 Severity:  major         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by sabernhardt):

 In my case with the faulty `DB_HOST`, headers apparently are sent before
 the [https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/functions.php?rev=54891#L3766 conditional statement] that assigns
 the response error code.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55610#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list