Ticket #17630: 17630.3.patch
| File 17630.3.patch, 745 bytes (added by , 10 years ago) |
|---|
-
src/wp-signup.php
37 37 die(); 38 38 } 39 39 40 $signup_location_parts = explode( '?', network_site_url( 'wp-signup.php' ) ); 41 42 // Redirect to the true signup location if the URL differs from default. 43 if ( $signup_location_parts[0] !== $network_site_url ) { 44 wp_redirect( $signup_location ); 45 exit; 46 } 47 40 48 // Fix for page title 41 49 $wp_query->is_404 = false; 42 50 … … 66 74 } 67 75 68 76 add_action( 'wp_head', 'wpmu_signup_stylesheet' ); 77 /** 78 * Fires just before the site sign-up header. 79 * 80 * @since 4.4.0 81 */ 82 do_action( 'before_signup_header' ); 69 83 get_header( 'wp-signup' ); 70 84 71 85 /**