password reset link not being sent
see if your WordPress can send other emails because if it is a configuration issue that can be fixed. Download a plugin to send mail or write your own or something to test the mail connection.
see if your WordPress can send other emails because if it is a configuration issue that can be fixed. Download a plugin to send mail or write your own or something to test the mail connection.
Could not reset WordPress user password using WP CLI
Customize WordPress Password-Reset Behavior
Check the error.log files in site root and wp-admin folder for any clues. It’s also possible a plugin is interfering with the mail() command – maybe one that changes the login? You could temp disable all plugins and then try the password reset process. If it works then, enable plugins one at a time to … Read more
Figured it out. I just needed to be using $_SERVER[‘HTTP_REFERER’] instead: //Modify password reset message and include redirect to referring page add_filter( ‘retrieve_password_message’, ‘collab_retrieve_password_message’, 10, 4 ); function collab_retrieve_password_message( $message, $key, $user_login, $user_data ) { $site_name = wp_specialchars_decode( get_option( ‘blogname’ ), ENT_QUOTES ); $message = __( ‘Someone has requested a password reset for the following … Read more
How to Disable Pre-population of Password on Password Reset
Better way to change the default password reset url with the woocommerce one?
If you want to have a reset button you have to include a reset input in the form: <input type=”reset” value=”Reset!”> This element resets all form values to default values. In your example <input type=”button” onclick=”” value=”Neka bud”> – <input type=”submit” value=”Godkänn bud” /> <input type=”reset” value=”Reset!”> </form>
As you can see here, WordPress will use WordPress as sender name and wordpress@<SITENAME> as sender email, if these params were note passed to wp_mail. You can use wp_mail_from and wp_mail_from_name filters to modify these values though. So if you want to change the sender e-mail address, just use this code: add_filter( ‘wp_mail_from’, function( $email … Read more
Turns out it was the WooCommerce Jetpack Plugin all along. Stupid thing had something enabled which it didn’t need. I guess that’s what I get if I let a client access the plugin menu. Thank you, denis.stoyanov, for helping me find the solution!