[wp-hackers] Custom DB error page
DD32
wordpress at dd32.id.au
Mon Mar 10 06:50:55 GMT 2008
Have a look at the dead_db() function and you'll see why:
http://trac.wordpress.org/browser/trunk/wp-includes/functions.php#L1549
If the default error page is served up (Why isnt it using wp_die() anyway?), then the status headers are set.
If the custom error override page is shown, then its assumed that the override file is going to take care of displaying the error, So WordPress doesnt send any headers, just leaves it up to the override file.
On Mon, 10 Mar 2008 17:37:17 +1100, Computer Guru <computerguru at neosmart.net> wrote:
> On 3/10/08, Viper007Bond <viper at viper007bond.com> wrote:
>> Maybe he's running an old SVN copy? *shrug*
>
> I somehow doubt it - those tickets are from a year ago (patches from mar. 07)
>
More information about the wp-hackers
mailing list