From 0aa8cebe8632819047c803eadfffcb1fed62f889 Mon Sep 17 00:00:00 2001 From: rob1n Date: Sat, 12 May 2007 19:30:38 +0000 Subject: [PATCH] Don't make useless status_header() call. fixes #4249 git-svn-id: https://develop.svn.wordpress.org/trunk@5458 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/wp-db.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index 84d5af2af7..39724b3006 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -370,10 +370,6 @@ class wpdb { if ( !$this->show_errors ) return false; - if ( function_exists( 'status_header' ) ) { - status_header( 503 ); - } - header('Content-Type: text/html; charset=utf-8'); if (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false)