Make WordPress Core

Ticket #33082: 33082.01.patch

File 33082.01.patch, 3.1 KB (added by johnjamesjacoby, 10 years ago)
  • src/wp-admin/user-edit.php

     
    462462        <th><label for="pass1"><?php _e( 'New Password' ); ?></label></th>
    463463        <td>
    464464                <input class="hidden" value=" " /><!-- #24364 workaround -->
    465                 <button type="button" class="button button-secondary wp-generate-pw hide-if-no-js"><?php _e( 'Generate new password' ); ?></button>
     465                <button type="button" class="button button-secondary wp-generate-pw hide-if-no-js"><?php _e( 'Generate Password' ); ?></button>
    466466                <div class="wp-pwd hide-if-js">
    467467                        <input type="password" name="pass1" id="pass1" class="regular-text" value="" autocomplete="off" data-pw="<?php echo esc_attr( wp_generate_password( 24 ) ); ?>" aria-describedby="pass-strength-result" />
    468468                        <button type="button" class="button button-secondary wp-hide-pw hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Hide password' ); ?>">
     
    494494<?php
    495495if ( IS_PROFILE_PAGE && count( $sessions->get_all() ) === 1 ) : ?>
    496496        <tr class="user-sessions-wrap hide-if-no-js">
    497                 <th>&nbsp;</th>
     497                <th><?php _e( 'Sessions' ); ?></th>
    498498                <td aria-live="assertive">
    499                         <div class="destroy-sessions"><button type="button" disabled class="button button-secondary"><?php _e( 'Log Out of All Other Sessions' ); ?></button></div>
     499                        <div class="destroy-sessions"><button type="button" disabled class="button button-secondary"><?php _e( 'Log Out Everywhere' ); ?></button></div>
    500500                        <p class="description">
    501501                                <?php _e( 'You are only logged in at this location.' ); ?>
    502502                        </p>
     
    504504        </tr>
    505505<?php elseif ( IS_PROFILE_PAGE && count( $sessions->get_all() ) > 1 ) : ?>
    506506        <tr class="user-sessions-wrap hide-if-no-js">
    507                 <th>&nbsp;</th>
     507                <th><?php _e( 'Sessions' ); ?></th>
    508508                <td aria-live="assertive">
    509                         <div class="destroy-sessions"><button type="button" class="button button-secondary" id="destroy-sessions"><?php _e( 'Log Out of All Other Sessions' ); ?></button></div>
     509                        <div class="destroy-sessions"><button type="button" class="button button-secondary" id="destroy-sessions"><?php _e( 'Log Out Everywhere' ); ?></button></div>
    510510                        <p class="description">
    511                                 <?php _e( 'Left your account logged in at a public computer? Lost your phone? This will log you out everywhere except your current browser.' ); ?>
     511                                <?php _e( 'Did you lose your phone or leave your account logged in at a public computer? You can log out everywhere else, and stay logged in here.' ); ?>
    512512                        </p>
    513513                </td>
    514514        </tr>
    515515<?php elseif ( ! IS_PROFILE_PAGE && $sessions->get_all() ) : ?>
    516516        <tr class="user-sessions-wrap hide-if-no-js">
    517                 <th>&nbsp;</th>
     517                <th><?php _e( 'Sessions' ); ?></th>
    518518                <td>
    519                         <p><button type="button" class="button button-secondary" id="destroy-sessions"><?php _e( 'Log Out of All Sessions' ); ?></button></p>
     519                        <p><button type="button" class="button button-secondary" id="destroy-sessions"><?php _e( 'Log Out Everywhere' ); ?></button></p>
    520520                        <p class="description">
    521521                                <?php
    522522                                /* translators: 1: User's display name. */
    523                                 printf( __( 'Log %s out of all sessions' ), $profileuser->display_name );
     523                                printf( __( 'Log %s out of all locations.' ), $profileuser->display_name );
    524524                                ?>
    525525                        </p>
    526526                </td>