Skip to content

Commit

Permalink
Rephrase "enable 2FA" link to improve a11y
Browse files Browse the repository at this point in the history
See #5
  • Loading branch information
iandunn committed Feb 3, 2023
1 parent 2948682 commit 7e9ca8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wporg-two-factor.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ function render_2fa_admin_notice() : void {
function get_enable_2fa_notice( string $existing_notices = '' ) : string {
$two_factor_notice = sprintf(
__(
'Your account requires two-factor authentication, which adds an extra layer of protection against hackers. You cannot make any changes to this site until you <a href="%s">enable it</a>.',
'Your account requires extra security. Please <a href="%s">enable two-factor authentication</a>.',
'wporg'
),
get_edit_account_url()
Expand Down

0 comments on commit 7e9ca8a

Please sign in to comment.