diff --git a/includes/api/class-wc-api-customers.php b/includes/api/class-wc-api-customers.php index fbcf23596e0..b5a9ec5be85 100644 --- a/includes/api/class-wc-api-customers.php +++ b/includes/api/class-wc-api-customers.php @@ -608,7 +608,7 @@ class WC_API_Customers extends WC_API_Resource { return esc_url_raw( $matches[1] ); } - return ''; + return null; } /**