Notification email error
-
Hello,
Since I updated the plug-in to version 2.5.3, the notification emails are not working correctly. Here’s what I receive:
"%1$s (%2$s) a demandé l'approbation d'un compte sur %3$s"I managed to temporarily solve the problem by deactivating the translation directly from the /new-user-approve/includes/messages.php file, by replacing:
function nua_default_notification_message() { $message = __( '{username} ({user_email}) has requested a username at {sitename}', 'new-user-approve' ) . "\n\n"; $message .= "{site_url}\n\n"; $message .= __( 'To approve or deny this user access to {sitename} go to', 'new-user-approve' ) . "\n\n"; $message .= "{admin_approve_url}\n\n"; $message = apply_filters( 'new_user_approve_notification_message_default', $message ); return $message; }With :
function nua_default_notification_message() { $message = "{username} ({user_email}) has requested a username at {sitename} \n\n"; $message .= "{site_url}\n\n"; $message .= "To approve or deny this user access to {sitename} go to \n\n"; $message .= "{admin_approve_url}\n\n"; $message = apply_filters( 'new_user_approve_notification_message_default', $message ); return $message; }This solution works, but the email is no longer translated. Do you have a solution to reinstate the translation?
Thank you for your help,
Best regards
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Notification email error’ is closed to new replies.