[wp-trac] [WordPress Trac] #65053: Media upload from the post edit screen shows an inaccurate number when uploading multiple media files
WordPress Trac
noreply at wordpress.org
Tue Apr 21 15:42:04 UTC 2026
#65053: Media upload from the post edit screen shows an inaccurate number when
uploading multiple media files
--------------------------+------------------------------
Reporter: Dharm1025 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upload | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui, javascript
--------------------------+------------------------------
Comment (by ozgursar):
== Patch Testing Report
Patch Tested: https://github.com/WordPress/wordpress-develop/pull/11585
=== Environment
- WordPress: 7.1-alpha-62161-src
- PHP: 8.2.29
- Server: nginx/1.29.4
- Database: mysqli (Server: 8.4.7 / Client: mysqlnd 8.2.29)
- Browser: Opera
- OS: macOS
- Theme: Twenty Twenty-Five 1.4
- MU Plugins: None activated
- Plugins:
* Test Reports 1.2.1
=== Steps taken
1. Create a new post
2. Click on ``Set featured image``
3. Go to ``Upload files`` and upload multiple files
4. Observe **incorrect** image count (e.g. `Showing 7 of 8 media items`)
5. Apply the patch
6. Repeat steps 2-4
7. Observe **correct** image count (e.g. `Showing 7 of 7 media items`)
8. ✅ Patch is solving the problem
=== Expected result
- While uploading we should see the correct number of images
=== Screenshots/Screencast with results
Before patch
[[Image(https://core.trac.wordpress.org/raw-attachment/ticket/65053/65053
-before-PR-11585.png)]]
After patch
[[Image(https://core.trac.wordpress.org/raw-attachment/ticket/65053/65053
-after-PR-11585.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65053#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list