diff --git a/wp-admin/includes/user.php b/wp-admin/includes/user.php index 6780824de8..8b82c48089 100644 --- a/wp-admin/includes/user.php +++ b/wp-admin/includes/user.php @@ -525,15 +525,28 @@ function default_password_nag() { if ( 'profile.php' === $pagenow || ! get_user_option( 'default_password_nag' ) ) { return; } - - echo '
'; - echo '' . __( 'Notice:' ) . ' '; - _e( 'You’re using the auto-generated password for your account. Would you like to change it?' ); - echo '
'; - printf( '' . __( 'Yes, take me to my profile page' ) . ' | ', esc_url( get_edit_profile_url() . '#password' ) ); - printf( '' . __( 'No thanks, do not remind me again' ) . '', '?default_password_nag=0' ); - echo '
+ + +
++ %2$s | ', + esc_url( get_edit_profile_url() . '#password' ), + __( 'Yes, take me to my profile page' ) + ); + printf( + '%2$s', + '?default_password_nag=0', + __( 'No thanks, do not remind me again' ) + ); + ?> +
+