Changeset 13884 for trunk/wp-login.php
- Timestamp:
- 03/29/2010 09:45:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-login.php
r13490 r13884 86 86 <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> 87 87 <?php } else { ?> 88 <div id="login"><h1><a href="<?php echo apply_filters('login_headerurl', 'http://' . $current_site->domain . $current_site->path); ?>" title="<?php echo apply_filters('login_headertitle', $current_site->site_name ); ?>"><span class="hide"><?php bloginfo('name'); ?></span></a></h1>88 <div id="login"><h1><a href="<?php echo apply_filters('login_headerurl', network_home_url() ); ?>" title="<?php echo apply_filters('login_headertitle', $current_site->site_name ); ?>"><span class="hide"><?php bloginfo('name'); ?></span></a></h1> 89 89 <?php } 90 90 … … 185 185 } 186 186 $message = __('Someone has asked to reset the password for the following site and username.') . "\r\n\r\n"; 187 if ( !is_multisite() ) 188 $message .= get_option('siteurl') . "\r\n\r\n"; 189 else 190 $message .= 'http://' . trailingslashit( $current_site->domain . $current_site->path ) . "\r\n\r\n"; 187 $message .= network_site_url() . "\r\n\r\n"; 191 188 $message .= sprintf(__('Username: %s'), $user_login) . "\r\n\r\n"; 192 189 $message .= __('To reset your password visit the following address, otherwise just ignore this email and nothing will happen.') . "\r\n\r\n"; 193 if ( !is_multisite() ) 194 $message .= site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . "\r\n"; 195 else 196 $message .= 'http://' . trailingslashit( $current_site->domain . $current_site->path ) . "wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login) . "\r\n"; 190 $message .= network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . "\r\n"; 197 191 198 192 if ( is_multisite() )
Note: See TracChangeset
for help on using the changeset viewer.