Make it compatible with plugins that change login url
-
Hello and thanks for your plugin
I use to protect from brute force attacks my site a plugin that changes the login url. You can get the login url with this WordPress function:
wp_login_url()In the body email, you change **loginurl** and **passwordreseturl** writing it in import-users-from-csv-with-meta/importer.php
559: $body_mail = str_replace( "**loginurl**", "<a href='" . home_url() . "/wp-login.php" . "'>" . home_url() . "/wp-login.php" . "</a>", $body_mail );564: $body_mail = str_replace( "**passwordreseturl**", network_site_url( 'wp-login.php?action=rp&key=' . $key . '&login=' . rawurlencode( $user_login ), 'login' ), $body_mail );That makes 404 page in my site. Please change both cases with the function. Thanks
The topic ‘Make it compatible with plugins that change login url’ is closed to new replies.