rename-wp-login
rename-wp-login copied to clipboard
Not compatible with WPML on multiple domains?
Hi,
I'm using WPML and every language has its own domain.
When this plugin was enabled, I could not login on the admin of all the domains. I fixed it by changing one line. Can someone validate if the plugin is still working with this change?
Changed line 292: wp-content/plugins/rename-wp-login/rename-wp-login.php
From:
untrailingslashit( $request['path'] ) === home_url( $this->new_login_slug(), 'relative' ) || (
To:
untrailingslashit( $request['path'] ) === "/" . $this->new_login_slug() || (
Cheers