[wp-trac] [WordPress Trac] #41655: Enable dead_db() to be trappable always.
WordPress Trac
noreply at wordpress.org
Thu Aug 17 15:54:05 UTC 2017
#41655: Enable dead_db() to be trappable always.
-------------------------+------------------------------
Reporter: gitlost | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by gitlost):
The above are before/afters if `die()` were replace by `wp_die()` in the
terse case, eg
{{{#!php
wp_die( '<h1>' . __( 'Error establishing a database connection' ) .
'</h1>', __( 'Database Error' ) );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41655#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list