2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
$output=t("You cannot send more than %number messages per hour. Please try again later.",array('%number'=>variable_get('contact_hourly_threshold',3)));
}
else{
...
...
@@ -160,8 +160,8 @@ function contact_user_page($account) {
if(!valid_email_address($user->mail)){
$output=t('You need to provide a valid e-mail address to contact other users. Please update your <a href="@url">user information</a> and try again.',array('@url'=>url("user/$user->uid/edit")));
$output=t('You cannot contact more than %number users per hour. Please try again later.',array('%number'=>variable_get('contact_hourly_threshold',3)));
$output=t("You cannot send more than %number messages per hour. Please try again later.",array('%number'=>variable_get('contact_hourly_threshold',3)));