WordPress.org

Make WordPress Core

Ticket #25407: 25407.patch

File 25407.patch, 447 bytes (added by xparham, 7 years ago)
  • wp-login.php

     
    444444break;
    445445
    446446case 'register' :
    447         if ( is_multisite() ) {
     447        if ( is_multisite() && apply_filters( 'wpmu_redirect_register', true ) ) {
    448448                // Multisite uses wp-signup.php
    449449                wp_redirect( apply_filters( 'wp_signup_location', network_site_url('wp-signup.php') ) );
    450450                exit;