Changeset 33368 for trunk/src/wp-admin/user-edit.php
- Timestamp:
- 07/22/2015 08:49:55 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/user-edit.php
r33367 r33368 467 467 <td> 468 468 <input class="hidden" value=" " /><!-- #24364 workaround --> 469 <button type="button" class="button button-secondary wp-generate-pw hide-if-no-js"><?php _e( 'Generate new password' ); ?></button>469 <button type="button" class="button button-secondary wp-generate-pw hide-if-no-js"><?php _e( 'Generate Password' ); ?></button> 470 470 <div class="wp-pwd hide-if-js"> 471 471 <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" /> … … 502 502 if ( IS_PROFILE_PAGE && count( $sessions->get_all() ) === 1 ) : ?> 503 503 <tr class="user-sessions-wrap hide-if-no-js"> 504 <th> </th>504 <th><?php _e( 'Sessions' ); ?></th> 505 505 <td aria-live="assertive"> 506 <div class="destroy-sessions"><button type="button" disabled class="button button-secondary"><?php _e( 'Log Out of All Other Sessions' ); ?></button></div>506 <div class="destroy-sessions"><button type="button" disabled class="button button-secondary"><?php _e( 'Log Out Everywhere Else' ); ?></button></div> 507 507 <p class="description"> 508 508 <?php _e( 'You are only logged in at this location.' ); ?> … … 512 512 <?php elseif ( IS_PROFILE_PAGE && count( $sessions->get_all() ) > 1 ) : ?> 513 513 <tr class="user-sessions-wrap hide-if-no-js"> 514 <th> </th>514 <th><?php _e( 'Sessions' ); ?></th> 515 515 <td aria-live="assertive"> 516 <div class="destroy-sessions"><button type="button" class="button button-secondary" id="destroy-sessions"><?php _e( 'Log Out of All Other Sessions' ); ?></button></div>516 <div class="destroy-sessions"><button type="button" class="button button-secondary" id="destroy-sessions"><?php _e( 'Log Out Everywhere Else' ); ?></button></div> 517 517 <p class="description"> 518 <?php _e( ' Left your account logged in at a public computer? Lost your phone? This will log you out everywhere except your current browser.' ); ?>518 <?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.' ); ?> 519 519 </p> 520 520 </td> … … 522 522 <?php elseif ( ! IS_PROFILE_PAGE && $sessions->get_all() ) : ?> 523 523 <tr class="user-sessions-wrap hide-if-no-js"> 524 <th> </th>524 <th><?php _e( 'Sessions' ); ?></th> 525 525 <td> 526 <p><button type="button" class="button button-secondary" id="destroy-sessions"><?php _e( 'Log Out of All Sessions' ); ?></button></p>526 <p><button type="button" class="button button-secondary" id="destroy-sessions"><?php _e( 'Log Out Everywhere' ); ?></button></p> 527 527 <p class="description"> 528 528 <?php 529 529 /* translators: 1: User's display name. */ 530 printf( __( 'Log %s out of all sessions' ), $profileuser->display_name );530 printf( __( 'Log %s out of all locations.' ), $profileuser->display_name ); 531 531 ?> 532 532 </p>
Note: See TracChangeset
for help on using the changeset viewer.