Make WordPress Core

Changeset 19705 for trunk/wp-login.php


Ignore:
Timestamp:
01/07/2012 06:54:08 PM (15 years ago)
Author:
nacin
Message:

Use home URL, not siteurl, in the password reset email. fixes #19767.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r19702 r19705  
    209209        }
    210210        $message = __('Someone requested that the password be reset for the following account:') . "\r\n\r\n";
    211         $message .= network_site_url() . "\r\n\r\n";
     211        $message .= network_home_url( '/' ) . "\r\n\r\n";
    212212        $message .= sprintf(__('Username: %s'), $user_login) . "\r\n\r\n";
    213213        $message .= __('If this was a mistake, just ignore this email and nothing will happen.') . "\r\n\r\n";
Note: See TracChangeset for help on using the changeset viewer.