Ticket #16107: 16107.patch
| File 16107.patch, 683 bytes (added by hakre, 2 years ago) |
|---|
-
wp-includes/wp-db.php
### Eclipse Workspace Patch 1.0 #P wordpress-trunk bare
934 934 if ( function_exists( 'error_log' ) 935 935 && ( $log_file = @ini_get( 'error_log' ) ) 936 936 && ( 'syslog' == $log_file || @is_writable( $log_file ) ) 937 ) 938 @error_log( $error_str ); 937 ) { 938 $len = (int) ini_get( 'log_errors_max_len' ); 939 if ( !$len ) { 940 $len = strlen( $error_str ); 941 } 942 @error_log( substr( $error_str, 0, $len ) ); 943 } 939 944 940 945 // Are we showing errors? 941 946 if ( ! $this->show_errors )
