diff --git a/settings/src/components/account-status.js b/settings/src/components/account-status.js index 39b68dc7..f35256cc 100644 --- a/settings/src/components/account-status.js +++ b/settings/src/components/account-status.js @@ -31,10 +31,10 @@ export default function AccountStatus() { const backupBodyText = ! backupCodesEnabled && ! hasPrimaryProvider - ? 'Please enable a Two-Factor security key or app before enabling backup codes.' + ? 'Please enable a Two-Factor security key or app before enabling recovery codes.' : `You have ${ backupCodesEnabled ? '' : 'not' } - verified your backup codes for two-factor authentication.`; + verified your recovery codes for two-factor authentication.`; return (
@@ -85,7 +85,7 @@ export default function AccountStatus() { status={ ! hasPrimaryProvider && ! backupCodesEnabled ? 'pending' : backupCodesEnabled } - headerText="Two-Factor Backup Codes" + headerText="Two-Factor Recovery Codes" bodyText={ backupBodyText } disabled={ ! hasPrimaryProvider } /> diff --git a/settings/src/components/backup-codes.js b/settings/src/components/backup-codes.js index a28e608a..2e86a99f 100644 --- a/settings/src/components/backup-codes.js +++ b/settings/src/components/backup-codes.js @@ -117,7 +117,7 @@ function Setup( { setRegenerating } ) { <>

- Backup codes let you access your account if your primary two-factor + Recovery codes let you access your account if your primary two-factor authentication method is unavailable, like if your phone is lost or stolen. Each code can only be used once.

@@ -126,7 +126,7 @@ function Setup( { setRegenerating } ) { - Without access to the one-time password app or a backup code, you will lose + Without access to the one-time password app or a recovery code, you will lose access to your account. Once you navigate away from this page, you will not be be able to view these codes again. @@ -181,7 +181,7 @@ function CodeList( { codes } ) {
{ ! codes.length && (

- Generating backup codes... + Generating recovery codes...

) } @@ -216,14 +216,14 @@ function Manage( { setRegenerating } ) { <>

- Backup codes let you access your account if your primary two-factor + Recovery codes let you access your account if your primary two-factor authentication method is unavailable, like if your phone is lost or stolen. Each code can only be used once.

{ backupCodesRemaining > 5 && (

- You have { backupCodesRemaining } backup codes remaining. + You have { backupCodesRemaining } recovery codes remaining.

) } @@ -231,7 +231,7 @@ function Manage( { setRegenerating } ) {
- You only have { backupCodesRemaining } backup codes + You only have { backupCodesRemaining } recovery codes remaining. Please regenerate and save new ones before you run out. If you don't, you won't be able to log into your account if you lose your phone. @@ -241,7 +241,7 @@ function Manage( { setRegenerating } ) {
); diff --git a/settings/src/components/download-button.js b/settings/src/components/download-button.js index 3bcacd60..a3564818 100644 --- a/settings/src/components/download-button.js +++ b/settings/src/components/download-button.js @@ -4,7 +4,7 @@ import { useCallback } from '@wordpress/element'; import { Button } from '@wordpress/components'; -export default function DownloadTxtButton( { codes, fileName = 'backup-codes.txt' } ) { +export default function DownloadTxtButton( { codes, fileName = 'recovery-codes.txt' } ) { const downloadTxtFile = useCallback( () => { const element = document.createElement( 'a' ); const file = new Blob( [ codes ], { type: 'text/plain' } );