[wp-trac] [WordPress Trac] #23349: Be able to suppress registration redirect for multisite in wp-login.php (was: Be able to suppress registration redirect for multisite in ws-login.php)

WordPress Trac noreply at wordpress.org
Fri Feb 1 02:06:56 UTC 2013


#23349: Be able to suppress registration redirect for multisite in wp-login.php
-------------------------+------------------------------
 Reporter:  aberglas     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Multisite    |     Version:  3.5.1
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------
Changes (by SergeyBiryukov):

 * component:  Users => Multisite


Old description:

> Currently I commented out the following lines in ws-login.com.  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;
>         }
>         */

New description:

 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;
         }
         */
 }}}

--

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23349#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list