WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 17 months ago

#23349 closed enhancement

Be able to suppress registration redirect for multisite in wp-login.php — at Version 2

Reported by: aberglas Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Multisite Keywords: reporter-feedback
Focuses: 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)

comment:1 @Ipstenu2 years ago

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.

comment:2 @SergeyBiryukov2 years ago

  • 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.