Make WordPress Core

Ticket #52915: 52915.diff

File 52915.diff, 726 bytes (added by audrasjb, 4 years ago)

Patch

  • src/wp-includes/user.php

    diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php
    index 82b5013a08..3812bfbf86 100644
    a b function wp_authenticate_username_password( $user, $username, $password ) { 
    149149        if ( ! $user ) {
    150150                return new WP_Error(
    151151                        'invalid_username',
    152                         __( '<strong>Error</strong>: Unknown username. Check again or try your email address.' )
     152                        sprintf(
     153                                /* translators: %s: User name. */
     154                                __( '<strong>Error</strong>: Unknown username. The username <strong>%s</strong> is not registered on this site. If you&#8217;re unsure of your username, you can attempt to login using your email address instead.' ),
     155                                $username
     156                        )
    153157                );
    154158        }
    155159