Changeset 58674 for trunk/src/wp-includes/user.php
- Timestamp:
- 07/04/2024 09:59:34 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r58589 r58674 3220 3220 $message .= __( 'If this was a mistake, ignore this email and nothing will happen.' ) . "\r\n\r\n"; 3221 3221 $message .= __( 'To reset your password, visit the following address:' ) . "\r\n\r\n"; 3222 $message .= network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . '&wp_lang=' . $locale . "\r\n\r\n"; 3222 3223 /* 3224 * Since some user login names end in a period, this could produce ambiguous URLs that 3225 * end in a period. To avoid the ambiguity, ensure that the login is not the last query 3226 * arg in the URL. If moving it to the end, a trailing period will need to be escaped. 3227 * 3228 * @see https://core.trac.wordpress.org/tickets/42957 3229 */ 3230 $message .= network_site_url( 'wp-login.php?login=' . rawurlencode( $user_login ) . "&key=$key&action=rp", 'login' ) . '&wp_lang=' . $locale . "\r\n\r\n"; 3223 3231 3224 3232 if ( ! is_user_logged_in() ) {
Note: See TracChangeset
for help on using the changeset viewer.