Making WordPress.org


Ignore:
Timestamp:
02/16/2018 07:21:18 AM (7 years ago)
Author:
obenland
Message:

Login: Use appropriate template functions

Makes URLs filterable, in order to add locale information.

See #1673.

File:
1 edited

Legend:

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

    r6493 r6660  
    1313
    1414<p id="nav">
    15     <a href="/lostpassword/" title="<?php _e( 'Password Lost and Found', 'wporg' ); ?>"><?php _e( 'Lost password?', 'wporg' ); ?></a> &nbsp; • &nbsp;
     15    <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;
    1616    <a href="<?php echo esc_url( wp_registration_url() ); ?>" title="<?php _e( 'Create an account', 'wporg' ); ?>"><?php _e( 'Create an account', 'wporg' ); ?></a>
    1717</p>
Note: See TracChangeset for help on using the changeset viewer.