Make dead_db()'s terse message more useful
|Reported by:||pishmishy||Owned by:||pishmishy|
|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.
Change History (18)
comment:12 pishmishy — 6 years ago
- Summary changed from Simplify dead_db() to use only wp_die() to Make dead_db()'s terse message more useful