PR feedback: copy & styles

This commit is contained in:
Kelly Dwan 2019-12-11 15:43:24 -05:00
parent 746de99787
commit 5f705e80f6
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D
3 changed files with 6 additions and 9 deletions

View file

@ -178,10 +178,7 @@ function can_manage_pledge( $requested_pledge_id, $auth_token = '' ) {
return new WP_Error(
'invalid_token',
sprintf(
__( 'Your link has expired, please <a href="%s">obtain a new one.</a>', 'wporg-5ftf' ),
get_permalink( $requested_pledge_id )
)
__( 'Your link has expired.', 'wporg-5ftf' )
);
}

View file

@ -15,7 +15,7 @@ $pledge_name = get_the_title( $pledge_id );
<p>
<?php echo esc_html( sprintf(
__( "If you're the admin for %s, enter your email address and a confirmation link will be sent to you.", 'wporg-5ftf' ),
__( "If you're an admin for %s, you can request a new edit link using this form. Enter your email address and we'll send you a new link.", 'wporg-5ftf' ),
$pledge_name
) ); ?>
</p>

View file

@ -29,6 +29,10 @@
border-bottom-color: $color-gray-light-400;
}
.notice p {
font-size: 1em;
}
.pledge-dialog__close {
position: absolute;
top: 0;
@ -72,8 +76,4 @@
input[type="submit"] {
font-size: ms(-3);
}
.notice p {
font-size: 1em;
}
}