Ticket #13657: 13657.3.diff
File 13657.3.diff, 450 bytes (added by , 7 years ago) |
---|
-
src/wp-includes/wp-db.php
diff --git src/wp-includes/wp-db.php src/wp-includes/wp-db.php index 57ed865a35..6ec426d26c 100644
class wpdb { 3083 3083 */ 3084 3084 public function bail( $message, $error_code = '500' ) { 3085 3085 if ( !$this->show_errors ) { 3086 $message .= mysql_error( $this->dbh ); 3086 3087 if ( class_exists( 'WP_Error', false ) ) { 3087 3088 $this->error = new WP_Error($error_code, $message); 3088 3089 } else {