WordPress.org

Make WordPress Core

Ticket #4754: 4754-you-have-been-successfully-logged-out.diff

File 4754-you-have-been-successfully-logged-out.diff, 914 bytes (added by Speedboxer, 14 years ago)

Change logout text to "You have been successfully logged out."

  • wp-login.php

     
    340340                $errors['user_pass'] = __('<strong>ERROR</strong>: The password field is empty.');
    341341
    342342        // Some parts of this script use the main login form to display a message
    343         if              ( TRUE == $_GET['loggedout'] )                  $errors['loggedout']            = __('Successfully logged you out.');
     343        if              ( TRUE == $_GET['loggedout'] )                  $errors['loggedout']            = __('You have been successfully logged
     344out.');
    344345        elseif  ( 'disabled' == $_GET['registration'] ) $errors['registerdiabled']      = __('User registration is currently not allowed.');
    345346        elseif  ( 'confirm' == $_GET['checkemail'] )    $errors['confirm']                      = __('Check your e-mail for the confirmation link.');
    346347        elseif  ( 'newpass' == $_GET['checkemail'] )    $errors['newpass']                      = __('Check your e-mail for your new password.');