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:
Drew Jaynes (DrewAPicture) 2014-05-02 12:18:07 +00:00
parent da6a3d1745
commit 5ad1751132
1 changed files with 4 additions and 1 deletions

View File

@ -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