diff --git a/includes/wc-core-functions.php b/includes/wc-core-functions.php index bef4fc0a5cd..11726973227 100644 --- a/includes/wc-core-functions.php +++ b/includes/wc-core-functions.php @@ -1436,7 +1436,6 @@ function wc_get_logger() { function wc_safe_dump( $expression ) { $alternatives = array( array( 'func' => 'print_r', 'args' => array( $expression, true ) ), - array( 'func' => 'var_dump', 'args' => array( $expression, true ) ), array( 'func' => 'var_export', 'args' => array( $expression, true ) ), array( 'func' => 'json_encode', 'args' => array( $expression ) ), array( 'func' => 'serialize', 'args' => array( $expression ) ),