From 44a84d7b0669fcab2da90c4b3c8d504673b4796d 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: https://develop.svn.wordpress.org/trunk@22254 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 *