Ticket #43721: 43721.3.diff
File 43721.3.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 .wp_privacy_policy_link { 256 text-align: center; 257 width: 100%; 258 position: absolute; 259 bottom: 20px; 260 left: 0; 261 } 262 263 @media ( max-height: 600px ) { 264 .login .wp_privacy_policy_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; 258 273 } 274 .login .wp_privacy_policy_link { 275 position: relative; 276 margin: 40px 0 20px 0; 277 } 259 278 } 260 279 261 280 @media screen and ( max-width: 782px ) { -
src/wp-login.php
280 280 */ 281 281 do_action( 'login_footer' ); 282 282 ?> 283 <div class="wp_privacy_policy_link"> 284 <?php 285 if ( $url = get_privacy_policy_url() ) { 286 echo esc_html( $login_link_separator ); 287 echo '<a href="' . esc_attr( $url ) . '">' . __( 'Privacy Policy' ) . '</a>'; 288 } 289 ?> 290 </div> 283 291 <div class="clear"></div> 284 292 </body> 285 293 </html>