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. git-svn-id: https://develop.svn.wordpress.org/trunk@28243 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
da6a3d1745
commit
5ad1751132
@ -52,7 +52,10 @@ define( 'ARRAY_N', 'ARRAY_N' );
|
|||||||
class wpdb {
|
class wpdb {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether to show SQL/DB errors
|
* Whether to show SQL/DB errors.
|
||||||
|
*
|
||||||
|
* Default behavior is to show errors if both WP_DEBUG and WP_DEBUG_DISPLAY
|
||||||
|
* evaluated to true.
|
||||||
*
|
*
|
||||||
* @since 0.71
|
* @since 0.71
|
||||||
* @access private
|
* @access private
|
||||||
|
Loading…
Reference in New Issue
Block a user