From 3ae4e54b048da733b3358c4e789ff21141d49659 Mon Sep 17 00:00:00 2001 From: Coen Jacobs Date: Mon, 26 May 2014 12:51:03 +0200 Subject: [PATCH] Empty return value should be null --- includes/api/class-wc-api-customers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } /**