diff --git a/plugins/wporg-5ftf/includes/authentication.php b/plugins/wporg-5ftf/includes/authentication.php index 490098b..d7c0d1e 100644 --- a/plugins/wporg-5ftf/includes/authentication.php +++ b/plugins/wporg-5ftf/includes/authentication.php @@ -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 obtain a new one.', 'wporg-5ftf' ), - get_permalink( $requested_pledge_id ) - ) + __( 'Your link has expired.', 'wporg-5ftf' ) ); } diff --git a/plugins/wporg-5ftf/views/partial-request-manage-link.php b/plugins/wporg-5ftf/views/partial-request-manage-link.php index 30ac92e..6d60b04 100644 --- a/plugins/wporg-5ftf/views/partial-request-manage-link.php +++ b/plugins/wporg-5ftf/views/partial-request-manage-link.php @@ -15,7 +15,7 @@ $pledge_name = get_the_title( $pledge_id );
diff --git a/themes/wporg-5ftf/css/components/_pledge-dialog.scss b/themes/wporg-5ftf/css/components/_pledge-dialog.scss index 2d46caf..0bec4d1 100644 --- a/themes/wporg-5ftf/css/components/_pledge-dialog.scss +++ b/themes/wporg-5ftf/css/components/_pledge-dialog.scss @@ -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; - } }