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. Built from https://develop.svn.wordpress.org/trunk@43120 git-svn-id: http://core.svn.wordpress.org/trunk@42949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3a43a64c20
commit
b1cf176f6e
|
@ -194,6 +194,14 @@ p {
|
|||
color: #124964;
|
||||
}
|
||||
|
||||
.login .privacy-policy-page-link {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
right: 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;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-alpha-43118';
|
||||
$wp_version = '5.0-alpha-43120';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
|
@ -261,6 +261,7 @@ function login_footer( $input_id = '' ) {
|
|||
printf( _x( '← Back to %s', 'site' ), get_bloginfo( 'title', 'display' ) );
|
||||
?>
|
||||
</a></p>
|
||||
<?php the_privacy_policy_link( '<div class="privacy-policy-page-link">', '</div>' ); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue