Opened 4 months ago

Last modified 4 months ago

#23349 new enhancement

Be able to suppress registration redirect for multisite in wp-login.php

Reported by: aberglas Owned by:
Priority: normal Milestone: Awaiting Review
Component: Multisite Version: 3.5.1
Severity: normal Keywords:
Cc:

Description (last modified by SergeyBiryukov)

Currently I commented out the following lines in wp-login.php. But I should be able to use a filter. Maybe test the result 'wp_signup_location' filter if false do not exit. Easy, and seems to annoy many people.

case 'register' :
    /*  AJB Comment out
	if ( is_multisite() ) {
		// Multisite uses wp-signup.php
		wp_redirect( apply_filters( 'wp_signup_location', network_site_url('wp-signup.php') ) );
		exit;
	}
	*/

Change History (2)

Towards what end are you doing this? A custom signup page?

I'm fairly sure that buddyPress did this so it should already be possible.

  • Component changed from Users to Multisite
  • Description modified (diff)
  • Summary changed from Be able to suppress registration redirect for multisite in ws-login.php to Be able to suppress registration redirect for multisite in wp-login.php
Note: See TracTickets for help on using tickets.