Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion includes/helper-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
3 changes: 2 additions & 1 deletion templates/account/login-registration-form.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@
<strong>Site name:</strong> %1$s
<strong>User name:</strong> %2$s
To reset your password, please click on the <a href="%3$s">Reset Password</a>.<br>
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,
Expand Down
Loading