Ticket #5771: 5771.diff
File 5771.diff, 531 bytes (added by , 17 years ago) |
---|
-
wp-includes/wp-db.php
184 184 $error_str = "WordPress database error $str for query $this->last_query"; 185 185 if ( $caller = $this->get_caller() ) 186 186 $error_str .= " made by $caller"; 187 @error_log($error_str, 0); 187 if (function_exists('error_log')) 188 @error_log($error_str, 0); 188 189 189 190 // Is error output turned on or not.. 190 191 if ( !$this->show_errors )