Make WordPress Core


Ignore:
Timestamp:
04/25/2014 07:11:32 AM (12 years ago)
Author:
DrewAPicture
Message:

Clean up duplicate hook notations and adjacency for calls to the wp_signup_location filter.

Also adds braces missed in [25535].

See #26869.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r28208 r28215  
    644644case 'register' :
    645645        if ( is_multisite() ) {
    646                 $sign_up_url = network_site_url( 'wp-signup.php' );
    647646                /**
    648647                 * Filter the Multisite sign up URL.
     
    652651                 * @param string $sign_up_url The sign up URL.
    653652                 */
    654                 wp_redirect( apply_filters( 'wp_signup_location', $sign_up_url ) );
     653                wp_redirect( apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) ) );
    655654                exit;
    656655        }
Note: See TracChangeset for help on using the changeset viewer.