Changeset 12735 for trunk/wp-login.php
- Timestamp:
- 01/15/2010 11:40:29 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-login.php
r12697 r12735 75 75 </head> 76 76 <body class="login"> 77 <?php if ( !is_multisite() ) { ?>77 <?php if ( !is_multisite() ) { ?> 78 78 <div id="login"><h1><a href="<?php echo apply_filters('login_headerurl', 'http://wordpress.org/'); ?>" title="<?php echo apply_filters('login_headertitle', __('Powered by WordPress')); ?>"><?php bloginfo('name'); ?></a></h1> 79 79 <?php } else { ?> … … 166 166 } 167 167 $message = __('Someone has asked to reset the password for the following site and username.') . "\r\n\r\n"; 168 if ( !is_multisite() ) {168 if ( !is_multisite() ) 169 169 $message .= get_option('siteurl') . "\r\n\r\n"; 170 } else {170 else 171 171 $message .= 'http://' . trailingslashit( $current_site->domain . $current_site->path ) . "\r\n\r\n"; 172 }173 172 $message .= sprintf(__('Username: %s'), $user_login) . "\r\n\r\n"; 174 173 $message .= __('To reset your password visit the following address, otherwise just ignore this email and nothing will happen.') . "\r\n\r\n"; 175 if ( !is_multisite() ) {174 if ( !is_multisite() ) 176 175 $message .= site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . "\r\n"; 177 } else {176 else 178 177 $message .= 'http://' . trailingslashit( $current_site->domain . $current_site->path ) . "wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login) . "\r\n"; 179 }180 178 181 179 // The blogname option is escaped with esc_html on the way into the database in sanitize_option … … 410 408 411 409 case 'register' : 412 if( is_multisite() ) { 413 // WPMU doesn't use this 414 wp_redirect( apply_filters( 'wp_signup_location', get_bloginfo('wpurl') . '/wp-signup.php' ) ); 415 exit; 416 } 410 if ( is_multixsite() ) { 411 // WPMU doesn't use this 412 wp_redirect( apply_filters( 'wp_signup_location', get_bloginfo('wpurl') . '/wp-signup.php' ) ); 413 exit; 414 } 415 417 416 if ( !get_option('users_can_register') ) { 418 417 wp_redirect('wp-login.php?registration=disabled');
Note: See TracChangeset
for help on using the changeset viewer.