From 6e5a2e295c33a7613bfa62993b6693783b7955d2 Mon Sep 17 00:00:00 2001 From: Ian Dunn Date: Wed, 2 May 2018 19:48:01 +0000 Subject: [PATCH] Privacy: Add policy link to login screen. Personal data collection is more likely for registered users than casual visitors, and the privacy policy might have been updated since a user last logged in. Those changes could impact the collection of personal data from registered users, so it makes sense to provide a link to the policy before users log in. Props voneff, xkon, melchoyce, chetan200891, desrosj. Fixes #43721. git-svn-id: https://develop.svn.wordpress.org/trunk@43120 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/login.css | 15 +++++++++++++++ src/wp-login.php | 1 + 2 files changed, 16 insertions(+) diff --git a/src/wp-admin/css/login.css b/src/wp-admin/css/login.css index 5da174cadc..8094f76c5f 100644 --- a/src/wp-admin/css/login.css +++ b/src/wp-admin/css/login.css @@ -194,6 +194,14 @@ p { color: #124964; } +.login .privacy-policy-page-link { + text-align: center; + width: 100%; + position: absolute; + bottom: 20px; + left: 0; +} + .login form .input, .login input[type="text"] { font-size: 24px; @@ -252,6 +260,13 @@ body.interim-login { width: device-width; } +@media ( max-height: 600px ) { + .login .privacy-policy-page-link { + position: relative; + margin: 60px 0 20px 0; + } +} + @media screen and ( max-height: 550px ) { #login { padding: 20px 0; diff --git a/src/wp-login.php b/src/wp-login.php index 9a73c4e9a2..cdbf52a43c 100644 --- a/src/wp-login.php +++ b/src/wp-login.php @@ -261,6 +261,7 @@ function login_footer( $input_id = '' ) { printf( _x( '← Back to %s', 'site' ), get_bloginfo( 'title', 'display' ) ); ?>

+ ', '' ); ?>