- The user will now be sent to a particular page after submitting a
lost password form, as per Jodie's request.
- When a user tries to log in with incorrect credentials, the error
text is now made a little clearer, and is red.
<div class="wp_login_error">
<p id="glm-member-login-notification">
<?php if( isset( $_GET['login'] ) && $_GET['login'] == 'failed' ) { ?>
- The information you entered is incorrect. Please try again.
+ <span style="color:red;">The information you entered is incorrect. Please try again.</span>
<?php }
else if( isset( $_GET['login'] ) && $_GET['login'] == 'empty' ) { ?>
- Please enter both username and password.
+ <span style="color:red;">The information you entered is incorrect. Please try again.</span>
<?php } else { ?>
<?php $glmAssociateConfig = apply_filters('glm_associate_config', null);
$supportEmail = $glmAssociateConfig['settings']['members_only_support_email'];
?>
</p>
- <form id="lostpasswordform" action="<?php echo wp_lostpassword_url(); ?>" method="post">
+ <form id="lostpasswordform" action="<?php echo wp_lostpassword_url( get_permalink(69936) ); ?>" method="post">
<p class="form-row">
<label for="user_login"><?php _e( 'Email', 'personalize-login' ); ?>
<input type="text" name="user_login" id="user_login">