[wp-hackers] Custom DB error page

Joost de Valk joost at joostdevalk.nl
Mon Mar 10 07:18:38 GMT 2008


Ok that's perfectly fine as long as it's documented somewhere :) is  
there a db-error.php.example provided? Might that be wise to do?

Cheers,
Joost


--
Joost de Valk
http://www.joostdevalk.nl/

P.S. Join my WordPress Plugin & SEO mailing list, and I'll teach you  
all I know! Just go to:

http://www.joostdevalk.nl/mailing-list/
...to get weekly WordPress Plugin news, SEO tips for your blog and more!

On Mar 10, 2008, at 7:50 AM, DD32 wrote:

> 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)
>>
>
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list