Changeset 20596 for trunk/wp-includes/canonical.php
- Timestamp:
- 04/25/2012 08:49:57 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/canonical.php
r20444 r20596 278 278 $redirect_url = $redirect['scheme'] . '://' . $redirect['host'] . $redirect['path']; 279 279 } 280 281 if ( 'wp-register.php' == basename( $redirect['path'] ) ) { 282 if ( is_multisite() ) 283 $redirect_url = apply_filters( 'wp_signup_location', site_url( 'wp-signup.php' ) ); 284 else 285 $redirect_url = site_url( 'wp-login.php?action=register' ); 286 wp_redirect( $redirect_url, 301 ); 287 die(); 288 } 280 289 } 281 290
Note: See TracChangeset
for help on using the changeset viewer.