Conflicts with other WPMUDEV plugins

Membership2 with "Set Password on Multisite Blog Creation" creates a back to back password + confirmation sequence.

Pro Sites with "Multi-Domains for Multisite" having the default domain option only leaves a lingering '.' between name your site and where the domain selector normally would go.

  • Sajid

    Hi @scooby,
    Hope you are doing good today :slight_smile:

    Set Password on Multisite Blog Creation is designed to add password fields on all registration form where the proper hooks are being called.

    To fix this issue, you can either enable Profile Fields add-on from Membership 2 > Add-ons and hide password fields from Membership 2 > Settings > Profile Fields or you can also remove Set Password on Multisite Blog Creation plugin password fields by adding following code in functions.php file of your child theme or use it as mu-plugin.

    if( !function_exists('wpmudev_remove_set_pass_on_custom_registration_pages') ) :
    	add_action('init', 'wpmudev_remove_set_pass_on_custom_registration_pages', 10);
    	function wpmudev_remove_set_pass_on_custom_registration_pages( $col_headers ){
    		global $pagenow;
    		if( $pagenow != 'wp-signup.php' && ( !isset( $_GET['action'] ) && $_GET['action'] != 'new_blog' ) ){
    			//Remove all actions of set password on multisite blog creation plugin if we are not on default signup page or on prosites add new blog page.
    			remove_action('init', 'wpmu_signup_password_init');
    			remove_action('template_redirect', 'wpmu_signup_password_init_sessions');
    			remove_action('wp_footer', 'wpmu_signup_password_stylesheet');
    			remove_action('signup_extra_fields', 'wpmu_signup_password_fields');
    			remove_action('wpmu_validate_user_signup', 'wpmu_signup_password_filter');
    			remove_action('signup_blogform', 'wpmu_signup_password_fields_pass_through');
    			remove_action('add_signup_meta', 'wpmu_signup_password_meta_filter',99);
    			remove_action('random_password', 'wpmu_signup_password_random_password_filter');

    For ProSites and Multi-Domains plugin, I tried to reproduce this issue on my own website but I could not figure out/understand it exactly. Could you please provide more details and share screenshots so we can rule this out too.

    Look forward towards your response :slight_smile:
    Cheers, Sajid

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.