[wp-trac] [WordPress Trac] #17271: WordPress returns a status code 200 when it can't connect to the database

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 28 23:45:50 UTC 2011


#17271: WordPress returns a status code 200 when it can't connect to the database
--------------------------+------------------
 Reporter:  PeteMall      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.2
Component:  Database      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------

Comment (by dd32):

 > I see status_header( 500 ); in dead_db().

 Without looking at it, I suspect that'll be overridden by wp_die() further
 down the stack handling that. That being said, I don't expect it'll be a
 200 code.. probably a generic 500 unless it's specified otherwise.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17271#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list