WordPress.org

Make WordPress Core

Opened 15 months ago

Closed 8 months ago

Last modified 7 months ago

#23349 closed enhancement (invalid)

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

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 (6)

comment:1 Ipstenu15 months 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 SergeyBiryukov15 months 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

comment:3 Ipstenu8 months ago

  • Keywords reporter-feedback added
  • Resolution set to invalid
  • Status changed from new to closed

No traction on this in 7 months. Reopen if needed with more info please :)

comment:4 SergeyBiryukov8 months ago

  • Milestone Awaiting Review deleted

comment:5 jeremyfelt7 months ago

#25407 was marked as a duplicate.

comment:6 jeremyfelt7 months ago

  • Version changed from 3.5.1 to 3.0

I haven't fully grokked the differences yet, but it seems skipping the multisite signup process in favor of the single site registration has the chance of causing unexpected behavior. It would make more sense to me to create a custom signup page that is accessible at the individual site level.

#17948 should also be a nice place for a future revamp of the login and registration forms and process.

Note: See TracTickets for help on using tickets.