| @@ -187,9 +187,9 @@ | ||
| 187 | 187 | * @param mixed $log |
| 188 | 188 | * @return void |
| 189 | 189 | */ |
| 190 | 190 | public static function log( $log ){ |
| 191 | - if ( defined('WP_DEBUG_LOG') && WP_DEBUG_LOG === true ) { | |
| 191 | + if ( defined('WP_DEBUG_LOG') && WP_DEBUG_LOG ) { | |
| 192 | 192 | if ( is_array( $log ) || is_object( $log ) ) { |
| 193 | 193 | error_log( print_r( $log, true ) ); |
| 194 | 194 | } else { |
| 195 | 195 | error_log( $log ?: '' ); |