WordPress.org

Make WordPress Core

Ticket #23087: 449ac581ff45bfd68050280cdad6211d907ca12f.diff

File 449ac581ff45bfd68050280cdad6211d907ca12f.diff, 613 bytes (added by chrisclayton, 16 months ago)
  • wp-includes/canonical.php

    diff --git a/wp-includes/canonical.php b/wp-includes/canonical.php
    index 7cd1256..b12a961 100644
    a b function redirect_canonical( $requested_url = null, $do_redirect = true ) { 
    284284                        if ( is_multisite() ) 
    285285                                $redirect_url = apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) ); 
    286286                        else 
    287                                 $redirect_url = site_url( 'wp-login.php?action=register' ); 
     287                                $redirect_url = apply_filters( 'wp_signup_location', site_url( 'wp-login.php?action=register' ) ); 
    288288                        wp_redirect( $redirect_url, 301 ); 
    289289                        die(); 
    290290                }