Make WordPress Core

Opened 5 months ago

Last modified 2 months ago

#64931 new defect (bug)

On media grid view, the file name is shown twice if it exceeds the maximum file upload size

Reported by: Presskopp Owned by:
Priority: normal Milestone: Awaiting Review
Component: Media Version:
Severity: normal Keywords: has-screenshots has-patch has-test-info
Cc: Focuses:

Description

Showing it only once will be enough, if you ask me.

Attachments (2)

twice.png (12.8 KB ) - added by Presskopp 5 months ago.
Once.png (7.0 KB ) - added by Presskopp 5 months ago.

Download all attachments as: .zip

Change History (4)

@Presskopp
5 months ago

@Presskopp
5 months ago

This ticket was mentioned in PR #11332 on WordPress/wordpress-develop by @Presskopp.


5 months ago
#1

  • Keywords has-patch added

Trac ticket: https://core.trac.wordpress.org/ticket/64931

## Use of AI Tools

#2 @jamesbregenzer
2 months ago

  • Keywords has-test-info added

Tested against current trunk (7.1-alpha).

Before applying the patch, I was able to reproduce the issue where the filename was displayed twice when an upload exceeded the maximum upload size.

Applied the patch attached to this ticket and rebuilt assets.

Verified that the filename is now displayed only once while preserving the existing error message and upload behavior.

Tested in both Media Library and Add Media File screens and was unable to identify any regressions.

Patch tests successfully for me.

Note: See TracTickets for help on using tickets.