[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
Thu Apr 9 22:28:06 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:                |     Focuses:  ui, javascript
--------------------------+------------------------------

Comment (by adamsilverstein):

 Thanks for the bug report @Dharm1025 - I was able to reproduce this
 immediately in the editor. I cleared my media library, then dragging 10
 files onto the editor the display read "Showing 10 of 11".

 I was not able to reproduce in the media library itself, these seems
 specific to the editor. I was also not able to reproduce it using the
 gallery inserter or by dragging a group of images onto the editor. It
 seems tied to invoking the uploader from the "Set Featured Image" button
 as you described.

 It feels a bit buggy that you can ''select more than one image at all''
 from this upload dialog, only one image can be the featured image. So
 maybe the bug here is the inserter should only allow single image
 selection (similar to the image block inserter). Then you would never see
 the mismatched count your report identified.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65053#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list