Login and Registration: Wrap long usernames in login error message.

Adds `word-wrap: break-word` to wrap long usernames in the login's error message. Using `word-wrap` instead of `word-break` for better cross-browser support and to avoid the deprecation (see Ref below).

For consistency, also changes `#backtoblog`.

Ref:
* `word-break: break-word` deprecation https://developer.mozilla.org/en-US/docs/Web/CSS/word-break#syntax

Follow-up to [51108].

Props soniakash, audrasjb, sabernhardt, hellofromTonya, desrosj, ocean90.
Fixes #37617.
Built from https://develop.svn.wordpress.org/trunk@52174


git-svn-id: http://core.svn.wordpress.org/trunk@51766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
hellofromTonya 2021-11-16 01:56:58 +00:00
parent df4834caea
commit a393ec95a5
5 changed files with 7 additions and 5 deletions

View File

@ -51,6 +51,7 @@ p {
margin-bottom: 20px;
background-color: #fff;
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
word-wrap: break-word;
}
.login .success {
@ -298,7 +299,7 @@ p {
#backtoblog {
margin: 16px 0;
word-break: break-word;
word-wrap: break-word;
}
.login #nav a,

File diff suppressed because one or more lines are too long

View File

@ -50,6 +50,7 @@ p {
margin-bottom: 20px;
background-color: #fff;
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
word-wrap: break-word;
}
.login .success {
@ -297,7 +298,7 @@ p {
#backtoblog {
margin: 16px 0;
word-break: break-word;
word-wrap: break-word;
}
.login #nav a,

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.9-alpha-52173';
$wp_version = '5.9-alpha-52174';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.