Empty return value should be null
This commit is contained in:
parent
cfd8600960
commit
3ae4e54b04
|
@ -608,7 +608,7 @@ class WC_API_Customers extends WC_API_Resource {
|
|||
return esc_url_raw( $matches[1] );
|
||||
}
|
||||
|
||||
return '';
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue