Changeset 9224 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/linkexpired.php
- Timestamp:
- 10/23/2019 06:09:31 AM (5 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/linkexpired.php
r9223 r9224 1 1 <?php 2 2 /** 3 * The logged outTemplate3 * The expired link Template 4 4 * 5 5 * @package wporg-login 6 6 */ 7 7 8 $reason = WP_WPOrg_SSO::$matched_route_params['reason'] ?? false; 9 $user = WP_WPOrg_SSO::$matched_route_params['user'] ?? false; 10 8 11 get_header(); 9 12 ?> 10 13 11 <p class="center"><?php _e( 'You are now logged out.', 'wporg' ); ?></p> 14 <h2 class="center"><?php _e( 'Link Expired', 'wporg' ); ?></h2> 15 16 <p class="center"><?php _e( "The link you've followed has expired.", 'wporg' ); ?></p> 17 18 <?php 19 if ( 'register' == $reason && $user ) { 20 echo '<p class="center"><a href="' . esc_url( home_url( '/register/' . urlencode( $user ) ) ) . '">' . 21 sprintf( 22 /* translators: %s: An account name. */ 23 __( 'Start over, and register %s.', 'wporg' ), 24 '<code>' . esc_html( $register_user ) . '</code>' 25 ) . 26 '</a></p>'; 27 } elseif ( 'lostpassword' == $reason && $user ) { 28 echo '<p class="center"><a href="' . esc_url( home_url( '/lostpassword/' . urlencode( $user ) ) ) . '">' . 29 __( 'Reset your password.', 'wporg' ) . 30 '</a></p>'; 31 } 32 ?> 12 33 13 34 <p id="nav">
Note: See TracChangeset
for help on using the changeset viewer.