Making WordPress.org

Changeset 14334


Ignore:
Timestamp:
01/06/2025 03:59:49 AM (17 months ago)
Author:
dd32
Message:

Login: Use text consistent with wp-login.php for UI consistency.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/login.php

    r14294 r14334  
    1515
    1616// Redirect is validated at redirect time, just pass through whatever we can.
    17 if ( ! empty( $_REQUEST['redirect_to'] ) ) {
     17if ( ! empty( $_REQUEST['redirect_to'] ) && is_string( $_REQUEST['redirect_to'] ) ) {
    1818    $redirect = wp_unslash( $_REQUEST['redirect_to'] );
    1919} elseif ( $referer = wp_get_referer() ) {
     
    4848
    4949<p id="nav">
    50     <a href="<?php echo esc_url( wp_lostpassword_url() ); ?>" title="<?php _e( 'Password Lost and Found', 'wporg' ); ?>"><?php _e( 'Lost password?', 'wporg' ); ?></a> &nbsp; • &nbsp;
     50    <a href="<?php echo esc_url( wp_lostpassword_url() ); ?>" title="<?php _e( 'Lost your password?', 'wporg' ); ?>"><?php _e( 'Lost your password?', 'wporg' ); ?></a> &nbsp; • &nbsp;
    5151    <a href="<?php echo esc_url( wp_registration_url() ); ?>" title="<?php _e( 'Create an account', 'wporg' ); ?>"><?php _e( 'Create an account', 'wporg' ); ?></a>
    5252</p>
Note: See TracChangeset for help on using the changeset viewer.