diff --git a/includes/helper-functions.php b/includes/helper-functions.php index f30f6a437e..c70bb08cfd 100644 --- a/includes/helper-functions.php +++ b/includes/helper-functions.php @@ -4362,7 +4362,7 @@ function directorist_check_password_reset_pin_code( $user, $pin_code ) { } function directorist_validate_youtube_vimeo_url( $url ) { - if ( preg_match( '/^(https?:\/\/)?(www\.)?vimeo\.com\/(\d+)/i', $url ) ) { + if ( preg_match( '/^(https?:\/\/)?(www\.)?vimeo\.com\/(\d+)(\/\d+)?$/i', $url ) ) { return true; } diff --git a/templates/account/login-registration-form.php b/templates/account/login-registration-form.php index cbdcc7b0b1..a463a41e57 100644 --- a/templates/account/login-registration-form.php +++ b/templates/account/login-registration-form.php @@ -199,7 +199,8 @@ Site name: %1$s User name: %2$s To reset your password, please click on the Reset Password.
- If this was a mistake, just ignore this email and nothing will happen.' + If this was a mistake, just ignore this email and nothing will happen.' + ,'directorist' ), $site_name, $user->user_login,