Opened 5 months ago
Closed 5 months ago
#62980 closed defect (bug) (fixed)
Media uploader error notice: Missing line break
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Upload | Keywords: | has-patch |
Focuses: | ui, css, administration | Cc: |
Description (last modified by )
This styling issue appears only in media uploader popup. [Screen recording https://cloudup.com/cP_trjcTLKY]
This bug doesn't occur in "Upload New Media" screen (under /wp-admin > Media > Add New). Ref:
Steps to reproduce the issue
- Disable media upload by assigning not-writable permissions to the upload directory
- Create an image/media file with longer name, e.g.:
480071194_18488060998058819_8111621425497874072_n.jpeg
- Login to your site with any role that allows post editing
- Upload the image to your new/existing post via "Set featured image" button that appears in the top right side of post editor sidebar
Attachments (2)
Change History (12)
#2
@
5 months ago
- Milestone changed from Awaiting Review to 6.8
- Owner set to audrasjb
- Status changed from new to accepted
- Version 6.7.2 deleted
This ticket was mentioned in PR #8342 on WordPress/wordpress-develop by @sainathpoojary.
5 months ago
#3
- Keywords has-patch added; needs-patch removed
@audrasjb commented on PR #8342:
5 months ago
#6
committed in https://core.trac.wordpress.org/changeset/59834
#7
@
5 months ago
- Keywords commit removed
This is already committed, and break-all
works, but the error message could have reused a common class for break-word
(available since [53777]):
<span class="upload-error-filename word-wrap-break-word">{{{ data.filename }}}</span>
Note: See
TracTickets for help on using
tickets.
This PR resolves an issue where long filenames in the media uploader popup would overflow. By adding word-break: break-all;to the .upload-error-filename class, filenames will now properly break into multiple lines to avoid UI issues.
Trac ticket:#62980