- fix Skype ID field

This commit is contained in:
ashubawork
2020-04-27 09:27:44 +03:00
parent d0c405b87a
commit c9182e942d
-6
View File
@@ -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 ] == '' ) {