Possible (cheeky) feature request
-
I’ve a couple of sites that uses only email addresses for login/usernames so the “email address or username” is invalid for that use.
Is there any chance that on a future release we could have a couple of extra settings that allows us to set the text/modify the text shown to users on line 135 of somfrp-functions.php. i.e. to allow the user to specify the ’email address or username’ part or even that whole part of the message “Please enter your email address or username”.$lost_text = esc_html__( 'Please enter your email address. You will receive a link to create a new password via email.', 'frontend-reset-password' );
and changes to line 46 and 47 of frontend-reset-password/templates/lost_password_form.php to give:
<label for="somfrp_user_info"><?php _e( 'Registered Email Address', 'frontend-reset-password' ); ?></label> <input type="text" name="somfrp_user_info" id="somfrp_user_info" required autocomplete="email">
The line 47 change just changes the “autocomplete” from “username” to “email”.
Not a major issue, just a nicety if they could also be set from the settings page. (I’ve modified the code locally, but obviously not ideal if you update).
Many thanks in advance, and not a problem if it requires too much testing time/etc…
- You must be logged in to reply to this topic.