Changeset 11799
- Timestamp:
- 04/27/2022 03:39:12 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions.php
r11615 r11799 491 491 /** 492 492 * Replace some login related error messages with nicer forms. 493 *494 * See https://core.trac.wordpress.org/ticket/52915495 493 */ 496 494 function wporg_login_errors_nicify( $errors, $redirect_to ) { 495 $sso = WPOrg_SSO::get_instance(); 497 496 498 497 $replace_errors = [ … … 503 502 ), 504 503 504 'must_change_password' => sprintf( 505 /* translators: %s: <code>password reset help queue.</code> */ 506 __( '<strong>Error:</strong> Your password needs to be changed. Please check your email for a link to set a new password. Please contact %s if you are unable to access your accounts registered email.', 'wporg' ), 507 '<code>' . $sso::SUPPORT_EMAIL . '</code>' 508 ) 505 509 ]; 506 510
Note: See TracChangeset
for help on using the changeset viewer.