[wp-trac] [WordPress Trac] #16615: More inline docs needed to explain DB errors esp. dead_db() and effects of WP_DEBUG

WordPress Trac noreply at wordpress.org
Fri May 2 12:18:08 UTC 2014


#16615: More inline docs needed to explain DB errors esp. dead_db() and effects of
WP_DEBUG
------------------------------+---------------------------
 Reporter:  jeremyclarke      |       Owner:  DrewAPicture
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.0
Component:  Database          |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  docs
------------------------------+---------------------------
Changes (by DrewAPicture):

 * owner:   => DrewAPicture
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"28243"]:
 {{{
 #!CommitTicketReference repository="" revision="28243"
 Improve inline documentation for the wpdb::$show_errors property.

 Note that SQL/DB errors are displayed by default if both WP_DEBUG and
 WP_DEBUG_DISPLAY evaluate to true.

 Props ericlewis.
 Fixes #16615.
 }}}

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


More information about the wp-trac mailing list