IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 319 | 319 | return $key; |
| 320 | 320 | } |
| 321 | 321 | |
| | 322 | $reset_password_url = network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login'); |
| | 323 | |
| | 324 | /** |
| | 325 | * Filter the reset password url |
| | 326 | * |
| | 327 | * @since 4.4.0 |
| | 328 | * |
| | 329 | * @param string $reset_password_url Reset password url |
| | 330 | * @param string $key Password reset key |
| | 331 | */ |
| | 332 | |
| | 333 | $reset_password_url = apply_filters( 'reset_password_url', $reset_password_url, $key ); |
| | 334 | |
| 322 | 335 | $message = __('Someone has requested a password reset for the following account:') . "\r\n\r\n"; |
| 323 | 336 | $message .= network_home_url( '/' ) . "\r\n\r\n"; |
| 324 | 337 | $message .= sprintf(__('Username: %s'), $user_login) . "\r\n\r\n"; |
| 325 | 338 | $message .= __('If this was a mistake, just ignore this email and nothing will happen.') . "\r\n\r\n"; |
| 326 | 339 | $message .= __('To reset your password, visit the following address:') . "\r\n\r\n"; |
| 327 | | $message .= '<' . network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . ">\r\n"; |
| | 340 | $message .= '<' . $reset_password_url . ">\r\n"; |
| 328 | 341 | |
| 329 | 342 | if ( is_multisite() ) |
| 330 | 343 | $blogname = $GLOBALS['current_site']->site_name; |