From c9182e942df570eb2160860de1614f550a5d8b0b Mon Sep 17 00:00:00 2001 From: ashubawork Date: Mon, 27 Apr 2020 09:27:44 +0300 Subject: [PATCH] - fix Skype ID field --- includes/core/um-actions-form.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/includes/core/um-actions-form.php b/includes/core/um-actions-form.php index 9989362b..5306b6d7 100644 --- a/includes/core/um-actions-form.php +++ b/includes/core/um-actions-form.php @@ -662,12 +662,6 @@ function um_submit_form_errors_hook_( $args ) { } break; - case 'skype': - if ( ! UM()->validation()->is_url( $args[ $key ], 'skype.com' ) ) { - UM()->form()->add_error( $key, sprintf( __( 'Please enter a valid %s username or profile URL', 'ultimate-member' ), $array['label'] ) ); - } - break; - case 'unique_username': if ( $args[ $key ] == '' ) {