[wp-trac] [WordPress Trac] #35422: only exit if the redirect is true when registering on multisites
WordPress Trac
noreply at wordpress.org
Tue Jan 12 18:55:11 UTC 2016
#35422: only exit if the redirect is true when registering on multisites
------------------------------------+-----------------------------
Reporter: pbearne | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: trunk
Severity: normal | Keywords:
Focuses: |
------------------------------------+-----------------------------
in wp-login.php we do a redirect to (wp_signup_location wp-signup.php)
when registering on multi sites and die
we should only die if the redirect is true
I also want to this patch added to save me from having to edit a core file
inorder to install s2member on multisite
This plugin has install instructions that have us rem out the redirect and
exit
`
{{{#!php
<?php
case 'register' :
if ( is_multisite() ) {
$sign_up_url = network_site_url( 'wp-signup.php' );
// Multisite uses wp-signup.php
// Modified for full plugin compatiblity.
//wp_redirect( apply_filters( 'wp_signup_location', $sign_up_url )
);
//exit;
}
}}}
`
I would like to change this to use the filter to remove the location and
cause the wp_redirect to return false
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35422>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list