Make WordPress Core


Ignore:
Timestamp:
05/02/2014 12:18:07 PM (11 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/wp-db.php

    r28022 r28243  
    5353
    5454    /**
    55      * Whether to show SQL/DB errors
     55     * Whether to show SQL/DB errors.
     56     *
     57     * Default behavior is to show errors if both WP_DEBUG and WP_DEBUG_DISPLAY
     58     * evaluated to true.
    5659     *
    5760     * @since 0.71
Note: See TracChangeset for help on using the changeset viewer.