Uploads: Use the word-wrap-break-word instead of specific CSS on .upload-error-filename.

This changeset replaces the `word-break: break-all` CSS declaration added to the `.upload-error-filename` element with the common class `word-wrap-break-word`, for better maintainability.

Follow-up to [59834].

Props sabernhardt.
Fixes #62980.



Built from https://develop.svn.wordpress.org/trunk@59835


git-svn-id: http://core.svn.wordpress.org/trunk@59177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2025-02-17 22:58:23 +00:00
parent 8b93b4e988
commit 5c501993ef
6 changed files with 4 additions and 6 deletions

View File

@ -1422,7 +1422,6 @@
.upload-errors .upload-error-filename {
font-weight: 600;
word-break: break-all;
}
.upload-errors .upload-error-message {

File diff suppressed because one or more lines are too long

View File

@ -1421,7 +1421,6 @@
.upload-errors .upload-error-filename {
font-weight: 600;
word-break: break-all;
}
.upload-errors .upload-error-message {

File diff suppressed because one or more lines are too long

View File

@ -356,7 +356,7 @@ function wp_print_media_templates() {
<?php // Template for the uploading status errors. ?>
<script type="text/html" id="tmpl-uploader-status-error">
<span class="upload-error-filename">{{{ data.filename }}}</span>
<span class="upload-error-filename word-wrap-break-word">{{{ data.filename }}}</span>
<span class="upload-error-message">{{ data.message }}</span>
</script>

View File

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