[wp-trac] [WordPress Trac] #6185: Simplify dead_db() to use only
wp_die()
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 12 09:55:07 GMT 2008
#6185: Simplify dead_db() to use only wp_die()
-----------------------+----------------------------------------------------
Reporter: pishmishy | Owner: pishmishy
Type: defect | Status: new
Priority: normal | Milestone: 2.6
Component: General | Version: 2.5
Severity: normal | Keywords: database error has-patch
-----------------------+----------------------------------------------------
I'm not sure why a terse output was desired from dead_db. The terse
message isn't particularly helpful unless you know what problems can occur
when trying to establish a database connection.
Attached patch removes the terse unfriendly message and uses wp_die() in
all cases.
--
Ticket URL: <http://trac.wordpress.org/ticket/6185>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list