Ticket #21103: patch
| File patch, 560 bytes (added by apimlott, 11 months ago) |
|---|
-
(a) wp-includes/wp-db.php vs. (b) -
a b 932 932 else 933 933 $error_str = sprintf( __( 'WordPress database error %1$s for query %2$s' ), $str, $this->last_query ); 934 934 935 $log_file = @ini_get('error_log'); 935 936 if ( function_exists( 'error_log' ) 936 && ( $log_file = @ini_get( 'error_log' ) ) 937 && ( 'syslog' == $log_file || @is_writable( $log_file ) ) 937 && ( '' == $log_file || 'syslog' == $log_file || @is_writable( $log_file ) ) 938 938 ) 939 939 @error_log( $error_str ); 940 940
