I needed to use an excellent MASS Users Password Reset plugin for one of my projects. I was not happy with the default password reset email that was being sent out by it.
The password reset email is assembled in send_reset_password_mail_action() function (main.php file) that is hooked to wp_ajax_send_reset_password_mail_action and wp_ajax_nopriv_send_reset_password_mail_action actions.
This is the way I wen about replacing this code with my own.
I hooked a function mm_replace_password_change_body to admin_init action. In this function I did the following
add_action('wp_ajax_send_reset_password_mail_action', [$this, 'mm_send_reset_password_mail_action']);
add_action('wp_ajax_nopriv_send_reset_password_mail_action', [$this, 'mm_send_reset_password_mail_action']);
And in mm_send_reset_password_mail_action I basically copy/pasted content of send_reset_password_mail_action from the plugin with necessary changes.
Note: it is safe to remove wp ajax actions in after_setup_theme hook, see this link
grab this little tool that would automatically read your keys from pageant whenever ssh connection is made. It won’t start pageant though, you have been warned!
Below are some insigths/ideas about most efficient structuring of CSS that I found of the web.
OOCSS + architecture from general to more concrete
If you ever install Ruby on Windows (Win 8.1 in my case) and are having issues with the SSL3 certificate e.g. error: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed then follow this link:
CA cert for Ruby on windows
Here is the nice writeup:
If you get error 691 when connecting to VPN on Windows 8/8.1, try following instructions on this page:
Error 691 Windows 8 VPN
I could not activate my Win8 that I clean installed (formatted HDD and installed from clean) because my installation copy was an upgrade version and it should only install on top of other existing windows installation. This page helped a lot Windows 8 Upgrade: clean install possible?
Look closer to the bottom of the page for the heading Activate Windows 8 Pro Upgrade
Just a note for those who have genuine version of Win 8 installed on their machine but not seeing update to Win 8.1 in the app store. You need to have KB 2871389 installed before the update becomes available in the store. Checkout this page