From 8ae2c51069c2acfebc39d8113b34d4320261ea4b Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 17 Oct 2012 13:11:45 +0000 Subject: [PATCH] Correct phpdoc for wpdb::bail(). wp_die() is issued when show_errors is true, not false. Props SergeyBiryukov. fixes #22211 git-svn-id: http://core.svn.wordpress.org/trunk@22254 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/wp-db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index 8f258f8157..466ab67b5e 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -1617,7 +1617,7 @@ class wpdb { /** * Wraps errors in a nice header and footer and dies. * - * Will not die if wpdb::$show_errors is true + * Will not die if wpdb::$show_errors is false. * * @since 1.5.0 *