[wp-trac] [WordPress Trac] #13657: When WP_DEBUG is true show better errors for establishing database connection

WordPress Trac noreply at wordpress.org
Thu Feb 15 14:28:15 UTC 2018


#13657: When WP_DEBUG is true show better errors for establishing database
connection
-------------------------------------+-----------------------------
 Reporter:  sivel                    |       Owner:  SergeyBiryukov
     Type:  enhancement              |      Status:  closed
 Priority:  low                      |   Milestone:  5.0
Component:  Database                 |     Version:
 Severity:  trivial                  |  Resolution:  fixed
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"42716"]:
 {{{
 #!CommitTicketReference repository="" revision="42716"
 Database: If both `WP_DEBUG` and `WP_DEBUG_DISPLAY` are true, display a
 more specific error message in `wpdb::bail()`.

 Props sivel, Mte90, SergeyBiryukov.
 Fixes #13657.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/13657#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list