Skip to content

Instantly share code, notes, and snippets.

@KaineLabs
Last active April 3, 2021 01:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KaineLabs/9328e334a75a6170fcd8438c252c4eed to your computer and use it in GitHub Desktop.
Save KaineLabs/9328e334a75a6170fcd8438c252c4eed to your computer and use it in GitHub Desktop.
Fix Login and Reset Password Issue For WPEngine 503 Bad Gateway
<?php
/**
* Fix Lost Password Issue For WPEngine.
*/
function yzc_change_lost_password_link( $action ) {
return add_query_arg( 'wpe-login', 'true', $action );
}
add_filter( 'youzify_membership_form_action', 'yzc_change_lost_password_link', 100 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment