Ticket #30364: 30364.patch
File 30364.patch, 994 bytes (added by , 10 years ago) |
---|
-
wp-admin/user-edit.php
490 490 <?php if ( IS_PROFILE_PAGE && ( count( $sessions->get_all() ) > 1 ) ) { ?> 491 491 <tr class="user-sessions-wrap hide-if-no-js"> 492 492 <th> </th> 493 <td >494 < p><button class="button button-secondary" id="destroy-sessions" data-token="<?php echo esc_attr( wp_get_session_token() ); ?>"><?php _e( 'Log Out of All Other Sessions' ); ?></button></p>493 <td aria-live="assertive"> 494 <div class="destroy-sessions"><button class="button button-secondary" id="destroy-sessions" data-token="<?php echo esc_attr( wp_get_session_token() ); ?>"><?php _e( 'Log Out of All Other Sessions' ); ?></button></div> 495 495 <p class="description"> 496 496 <?php _e( 'Left your account logged in at a public computer? Lost your phone? This will log you out everywhere except your current browser.' ); ?> 497 497 </p>