Skip to content

Commit

Permalink
Remove application password plugin reference in admin.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwilsoncc committed Aug 18, 2022
1 parent 9415023 commit 3fef859
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions includes/classes/Authentications/WordPressBasicAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,15 @@ public static function credentials_form( $args = array() ) {

<span class="description">
<?php
$plugin_link = 'https://wordpress.org/plugins/application-passwords/';

/* translators: %s: Application Passwords plugin URL */
printf( wp_kses_post( __( '<strong>Important:</strong> We strongly recommend using the <a href="%s">Application Passwords</a> plugin on the site you are connecting to in order to create a unique password for this connection. This helps limit the use of your primary password and will allow you to revoke access in the future if needed.', 'distributor' ) ), esc_url( $plugin_link ) );
$plugin_link = 'https://make.wordpress.org/core/2020/11/05/application-passwords-integration-guide/';

printf(
wp_kses_post(
/* translators: %s: Application Passwords documentation URL */
__( '<strong>Important:</strong> We strongly recommend using the <a href="%s">Application Passwords</a> feature on the site you are connecting to in order to create a unique password for this connection. This helps limit the use of your primary password and will allow you to revoke access in the future if needed.', 'distributor' )
),
esc_url( $plugin_link )
);
?>
</p>
</div>
Expand Down

0 comments on commit 3fef859

Please sign in to comment.