Ticket #43721: 43721.5.diff
File 43721.5.diff, 1.2 KB (added by , 7 years ago) |
---|
-
src/wp-admin/css/login.css
252 252 width: device-width; 253 253 } 254 254 255 .login .privacy-policy-page-link { 256 text-align: center; 257 width: 100%; 258 position: absolute; 259 bottom: 20px; 260 left: 0; 261 } 262 263 @media ( max-height: 850px ) { 264 .login .privacy-policy-page-link { 265 position: relative; 266 margin: 60px 0 20px 0; 267 } 268 } 269 255 270 @media screen and ( max-height: 550px ) { 256 271 #login { 257 272 padding: 20px 0; -
src/wp-login.php
261 261 printf( _x( '← Back to %s', 'site' ), get_bloginfo( 'title', 'display' ) ); 262 262 ?> 263 263 </a></p> 264 <?php 265 $privacy_policy_url = get_privacy_policy_url(); 266 if ( $privacy_policy_url ) : 267 ?> 268 <div class="privacy-policy-page-link"> 269 <a href="<?php echo esc_url( $privacy_policy_url ); ?>" aria-label="<?php esc_attr_e( 'Privacy Policy' ); ?>"> 270 <?php _e( 'Privacy Policy' ); ?> 271 </a> 272 </div> 273 <?php endif; ?> 264 274 <?php endif; ?> 265 275 266 276 </div>