[wp-trac] Re: [WordPress Trac] #5574: Extended customized errors
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 3 22:16:23 GMT 2008
#5574: Extended customized errors
-------------------------+--------------------------------------------------
Reporter: coolmann | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.5
Component: Template | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by DD32):
I guess it could be possible to allow a page within wp-content that can be
loaded for errors.
ie.
{{{
if( error == db-down && file_exists( ABSPATH . WPCON . '/db-down.php') ){
include(ABSPATH . WPCON . '/db-down.php');
} else if ( error == fatal && file_exists( ABSPATH . WPCON . '/wp-
die.php') ){
include( ABSPATH . WPCON . '/wp-die.php' );
} else {
//normal wp-die stuff
}
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/5574#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list