Can you link to “theme my login”?
There are over 40k plugins and a lot have similar names.
I’ll make an assumption you mean https://wordpress.org/plugins/theme-my-login/
My guess would be it has to do with how he filters URLs. He has a couple functions that “Rewrites URL’s created by site_url containing wp-signup.php or wp-activate.php” and “Rewrites URL’s created by network_site_url”
Since JMM is only using site_url() it’s a logical guess that his filter on wp-signup.php there is goofing the URL since it’s no longer coming from a defined blog ID (that is, the direction to the signup page doesn’t specify a blog ID and the filter is hitting before the page loads and defines it).
Thank you Mika.
Finally I commented the lines that call the multisite template of TML, in theme-my-login.php:
// if ( is_multisite() ) {
// // require_once( WP_PLUGIN_DIR . '/theme-my-login/includes/class-theme-my-login-ms-signup.php' );
// // Instantiate Theme_My_Login_MS_Signup singleton
// Theme_My_Login_MS_Signup::get_object();
// }
And now both plugins work together.
Thank you again.
I have another question for you, this time is just about your plugin.
I’ll open a new issue.