We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3357f3 commit 9dea87aCopy full SHA for 9dea87a
src/View/Admin/WooTab.php
@@ -712,7 +712,7 @@ private function validate_value( $field ) {
712
* @return string
713
*/
714
public function sanitize_phone_number( $value ) {
715
- return is_scalar( $value ) ? preg_replace( '/[^\d-()+]+/', '', $value ) : '';
+ return is_scalar( $value ) ? preg_replace( '/[^\d\-()+]+/', '', $value ) : '';
716
}
717
718
/**
0 commit comments