Ticket #43721: 43721.2.diff
File 43721.2.diff, 999 bytes (added by , 7 years ago) |
---|
-
src/wp-login.php
847 847 <a href="<?php echo esc_url( wp_login_url() ); ?>"><?php _e( 'Log in' ); ?></a> 848 848 <?php echo esc_html( $login_link_separator ); ?> 849 849 <a href="<?php echo esc_url( wp_lostpassword_url() ); ?>"><?php _e( 'Lost your password?' ); ?></a> 850 <?php 851 if ( $url = get_privacy_policy_url() ) { 852 echo esc_html( $login_link_separator ); 853 echo '<a href="' . esc_attr( $url ) . '">' . __( 'Privacy Policy' ) . '</a>'; 854 } 855 ?> 850 856 </p> 851 857 852 858 <?php … … 1114 1120 endif; 1115 1121 ?> 1116 1122 <a href="<?php echo esc_url( wp_lostpassword_url() ); ?>"><?php _e( 'Lost your password?' ); ?></a> 1123 <?php 1124 if ( $url = get_privacy_policy_url() ) { 1125 echo esc_html( $login_link_separator ); 1126 echo '<a href="' . esc_attr( $url ) . '">' . __( 'Privacy Policy' ) . '</a>'; 1127 } 1128 ?> 1117 1129 <?php endif; ?> 1118 1130 </p> 1119 1131 <?php } ?>